Update graph-factory.ts
This commit is contained in:
parent
715741e25f
commit
f5aa8a10f1
|
|
@ -59,7 +59,13 @@ export function createGraph(
|
|||
allowEdge: false,
|
||||
allowPort: true,
|
||||
highlight: true,
|
||||
router: 'manhattan',
|
||||
router: {
|
||||
name: 'manhattan',
|
||||
args: {
|
||||
startDirections: ['right'],
|
||||
endDirections: ['left'],
|
||||
},
|
||||
},
|
||||
// router: {
|
||||
// name: 'metro',
|
||||
// args: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue