graphable interface
This commit is contained in:
		
							
								
								
									
										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 { 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'; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user