Compare commits

...

2 Commits

Author SHA1 Message Date
9ce39f4204 Merge branch 'master' of git.scode.ovh:timo/graphviz-builder 2020-05-04 20:31:06 +02:00
f0497f163d graphable interface 2020-05-04 20:31:03 +02:00
2 changed files with 6 additions and 0 deletions

5
lib/Graphable.ts Normal file

@ -0,0 +1,5 @@
import { Graph } from './Graph';
export interface Graphable {
to_graph(g: Graph): void;
}

@ -5,3 +5,4 @@ export { Edge } from './Edge';
export { Color } from './Color'; export { Color } from './Color';
export { EdgeStyles, NodeStyles, GraphStyles } from './Styles'; export { EdgeStyles, NodeStyles, GraphStyles } from './Styles';
export { GraphLayouts } from './GraphLayouts'; export { GraphLayouts } from './GraphLayouts';
export { Graphable } from './Graphable';