fix
This commit is contained in:
@ -75,6 +75,7 @@ export class Graph extends Element {
|
||||
|
||||
public add_graph (constructor: ((g: Graph) => void) | string): string {
|
||||
const graph = new Graph ('unnamed', this.full_name);
|
||||
graph.directional = this.directional;
|
||||
|
||||
if (typeof constructor === 'string')
|
||||
graph.name = constructor;
|
||||
|
Reference in New Issue
Block a user