GraphStream
This commit is contained in:
9
lib/enums/GraphLayouts.ts
Normal file
9
lib/enums/GraphLayouts.ts
Normal file
@ -0,0 +1,9 @@
|
||||
export type GraphLayouts =
|
||||
'neato'
|
||||
| 'dot'
|
||||
| 'circo'
|
||||
| 'fdp'
|
||||
| 'sfdp'
|
||||
| 'osage'
|
||||
| 'twopi'
|
||||
| 'patchwork'
|
11
lib/enums/GraphStreamCommand.ts
Normal file
11
lib/enums/GraphStreamCommand.ts
Normal file
@ -0,0 +1,11 @@
|
||||
/* eslint-disable line-comment-position */
|
||||
/* eslint-disable no-inline-comments */
|
||||
export type GraphStreamCommand =
|
||||
'cn'| // create node
|
||||
'en'| // end node
|
||||
'cug'| // create unordered graph
|
||||
'cdg'| // create directional graph
|
||||
'csg'| // create subgraph
|
||||
'eg'| // end graph
|
||||
'at'| // add attributes
|
||||
'ce' // create edge
|
32
lib/enums/Styles.ts
Normal file
32
lib/enums/Styles.ts
Normal file
@ -0,0 +1,32 @@
|
||||
type EdgeStyles =
|
||||
''
|
||||
|'solid'
|
||||
|'dashed'
|
||||
|'dotted'
|
||||
|'bold'
|
||||
|
||||
|
||||
type NodeStyles =
|
||||
''
|
||||
|'solid'
|
||||
|'dashed'
|
||||
|'dotted'
|
||||
|'bold'
|
||||
|'rounded'
|
||||
|'diagonals'
|
||||
|'filled'
|
||||
|'striped'
|
||||
|'wedged'
|
||||
|'invis'
|
||||
|
||||
|
||||
type GraphStyles =
|
||||
'solid'
|
||||
| 'dashed'
|
||||
| 'dotted'
|
||||
| 'bold'
|
||||
| 'rounded'
|
||||
| 'filled'
|
||||
| 'striped'
|
||||
|
||||
export { EdgeStyles, NodeStyles, GraphStyles };
|
Reference in New Issue
Block a user