graphable interface
This commit is contained in:
parent
de0edfc0ac
commit
f0497f163d
5
lib/Graphable.ts
Normal file
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 { EdgeStyles, NodeStyles, GraphStyles } from './Styles';
|
||||
export { GraphLayouts } from './GraphLayouts';
|
||||
export { Graphable } from './Graphable';
|
||||
|
Loading…
x
Reference in New Issue
Block a user