Flowchart subgraph - too many nodes results in a node not rendered under it's subgraph section #5299
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
hi,
There seems to be a bug with flowchart and subgraphs, if too many nodes exist, results in a node expected to be under a subgraph rendered outside it's expected subgraph
any questions, please let me know, thanks
Steps to reproduce
example of a diagram with one too many nodes
keeping an eye on the node
Scan_with_CPU["Scan with CPU"]
should be under the subgraph
Sensor_Visibility
for context, noticed while mapping out dependencies for some settings of an application
same diagram with one less node
removed
SEH_Overwrite_Protection --> x86_64
Scan_with_CPU["Scan with CPU"]
is now under the subgraphSensor_Visibility
Screenshots
with one too many
![image](https://private-user-images.githubusercontent.com/131126313/305695707-684d730a-ff79-4149-82eb-d70e035c492e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxOTE4MjcsIm5iZiI6MTcxOTE5MTUyNywicGF0aCI6Ii8xMzExMjYzMTMvMzA1Njk1NzA3LTY4NGQ3MzBhLWZmNzktNDE0OS04MmViLWQ3MGUwMzVjNDkyZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyNFQwMTEyMDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05ZTM1NGQ2YzNhMzc5YmJlNTBiZGYxZWU5ZmE4ZTVmM2U3MDYwN2EzOTJiNDcyNTQ5ZTJiNDY4OWFhMjY3ODczJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.7LHeCoJ7Gd83NlOx4zpZDM8fMvV8UFTJmpxOke9LS78)
with one less
![image](https://private-user-images.githubusercontent.com/131126313/305695722-f28ba1d7-eee4-4803-a45a-787cfc613921.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxOTE4MjcsIm5iZiI6MTcxOTE5MTUyNywicGF0aCI6Ii8xMzExMjYzMTMvMzA1Njk1NzIyLWYyOGJhMWQ3LWVlZTQtNDgwMy1hNDVhLTc4N2NmYzYxMzkyMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyNFQwMTEyMDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jY2Y5Mzc5MmU1YTk1NTM5MTkyNTZkZTljZDkzM2FjN2JmMDhkYzMxN2Y4OWY1NjVjNGIwMzdhNWI1MzIyMGZhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.qyMmYdOI2tFjhS07bLpEZpAvemUnL5fNFqmtc6m1_Ks)
Code Sample
Setup
is consistent between the mermaid live preview using both Firefox and Edge, a VS Code Mermaid Preview extension (link below), and in GitHub issues markdown renderer
https://marketplace.visualstudio.com/items?itemName=bierner.markdown-mermaid
Suggested Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: