Reversal of simple fix for grap directions flips

This commit is contained in:
Knut Sveidqvist
2021-04-30 17:18:50 +02:00
parent 2240333df1
commit 0185d75b05

View File

@@ -364,8 +364,7 @@ export const extractor = (graph, depth) => {
compound: true
})
.setGraph({
rankdir: graphSettings.rankdir === 'TB' ? 'TB' : 'LR',
// Todo: set proper spacing
rankdir: graphSettings.rankdir === 'TB' ? 'LR' : 'TB', // Todo: set proper spacing
nodesep: 50,
ranksep: 50,
marginx: 8,