mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-27 15:22:56 +08:00
feat: update layouting & update elkjs config
This commit is contained in:
parent
900e560242
commit
4bae8c4b7d
@ -184,6 +184,10 @@ export const Graph = ({ isWidget = false }: GraphProps) => {
|
||||
height={paneHeight}
|
||||
width={paneWidth}
|
||||
direction={direction}
|
||||
layoutOptions={{
|
||||
"elk.layered.compaction.postCompaction.strategy": "EDGE_LENGTH",
|
||||
"elk.layered.nodePlacement.strategy": "NETWORK_SIMPLEX",
|
||||
}}
|
||||
onLayoutChange={onLayoutChange}
|
||||
onCanvasClick={onCanvasClick}
|
||||
node={memoizedNode}
|
||||
|
Loading…
x
Reference in New Issue
Block a user