Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple layout algorithms for flowcharts #867

Closed
knsv opened this issue Jun 30, 2019 · 2 comments
Closed

Support multiple layout algorithms for flowcharts #867

knsv opened this issue Jun 30, 2019 · 2 comments
Labels
Graph: Flow Type: Enhancement New feature or request Type: New Shape Request for new shape
Projects

Comments

@knsv
Copy link
Collaborator

knsv commented Jun 30, 2019

Currently the layout mechanism mermaid is using is a dagre algorithm. It would be powerfull to add the possibility to specify which layout algoritm to use.

An organic layout should also be supported.
The organic layout above uses a predefined force-directed graph layout

% Current syntax
graph TD
...
end

% Specifices the diffrent layout algorithm
graph Organic
....
end

To address scenarios with subgraphs, the following approach could be used. This would be nice to have though is it might be quite complex.

graph Organic
subgraph Hierarchical TD
...
end
subgraph Hierarchical LR
...
end
end

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you are still interested in it, and it is still relevant, you can comment or remove the label to revive it.

@github-actions github-actions bot added the Type: New Shape Request for new shape label Sep 24, 2019
@stale
Copy link

stale bot commented Oct 8, 2019

This issue has been been automatically closed due to a lack of activity. This is done to maintain a clean list of issues that the community is interested in developing.

@stale stale bot closed this as completed Oct 8, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Oct 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Graph: Flow Type: Enhancement New feature or request Type: New Shape Request for new shape
Projects
No open projects
8.2.0
  
To do
Development

No branches or pull requests

3 participants