Fixup vertex label
This commit is contained in:
parent
226e95cfba
commit
335c89b6d4
|
@ -93,7 +93,7 @@ export class WDAG {
|
||||||
}
|
}
|
||||||
const vertex = new Vertex(this, type, id, data, options);
|
const vertex = new Vertex(this, type, id, data, options);
|
||||||
this.vertices.set(id, vertex);
|
this.vertices.set(id, vertex);
|
||||||
vertex.setDisplayLabel(id, label ?? id);
|
vertex.setDisplayLabel(label ?? id);
|
||||||
return vertex;
|
return vertex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue