mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-27 00:44:08 +01:00
Reversal of simple fix for grap directions flips
This commit is contained in:
@@ -364,8 +364,7 @@ export const extractor = (graph, depth) => {
|
|||||||
compound: true
|
compound: true
|
||||||
})
|
})
|
||||||
.setGraph({
|
.setGraph({
|
||||||
rankdir: graphSettings.rankdir === 'TB' ? 'TB' : 'LR',
|
rankdir: graphSettings.rankdir === 'TB' ? 'LR' : 'TB', // Todo: set proper spacing
|
||||||
// Todo: set proper spacing
|
|
||||||
nodesep: 50,
|
nodesep: 50,
|
||||||
ranksep: 50,
|
ranksep: 50,
|
||||||
marginx: 8,
|
marginx: 8,
|
||||||
|
|||||||
Reference in New Issue
Block a user