mirror of
https://github.com/ellmau/adf-obdd.git
synced 2025-12-20 09:39:38 +01:00
Change G6 Graph layout slightly
This commit is contained in:
parent
927f7b26ea
commit
20cd5d3f06
@ -182,18 +182,14 @@ function GraphG6(props: Props) {
|
||||
if (!graphRef.current) {
|
||||
graphRef.current = new Graph({
|
||||
container: ref.current!,
|
||||
width: 1200,
|
||||
height: 400,
|
||||
height: 800,
|
||||
fitView: true,
|
||||
modes: {
|
||||
default: ['drag-canvas', 'zoom-canvas', 'drag-node'],
|
||||
},
|
||||
layout: {
|
||||
type: 'dagre',
|
||||
rankdir: 'TB',
|
||||
align: 'DR',
|
||||
nodesep: 100,
|
||||
ranksep: 100,
|
||||
rankdir: 'BT',
|
||||
},
|
||||
// defaultNode: {
|
||||
// anchorPoints: [[0.5, 0], [0, 0.5], [1, 0.5], [0.5, 1]],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user