Skip to content

Nested Subgraphs #4291

Answered by elzup
AsdfplayaV2 asked this question in Q&A
Apr 11, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

It's strange

It seems dagre(renderer)'s probrem dagrejs/dagre#236
error is Cannot set properties of undefined (setting 'rank')

with elk works (use %%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%)

%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%

flowchart TB
subgraph A
subgraph B
subgraph C
subgraph D
p1-->p2
p2-->p3
p3-->E
subgraph E
p4[1]
end
end
end
end
end
Loading

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AsdfplayaV2
Comment options

Answer selected by AsdfplayaV2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants