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

Force-directed graph Layout Style #806

Closed
jgroom33 opened this issue Mar 16, 2019 · 4 comments
Closed

Force-directed graph Layout Style #806

jgroom33 opened this issue Mar 16, 2019 · 4 comments
Labels
Type: New Shape Request for new shape

Comments

@jgroom33
Copy link

The existing layout scheme is strictly hierarchical (TD, LR).
An organic layout should also be supported.
The organic layout above uses a predefined force-directed graph layout

The Class UML layout appears to operate in this manner, however, the class UML use case is currently limited to class diagrams because of the rendered box (with variable placeholders)

This issue will provide the following implementation:

graph Hierarchical TD
...
end

graph Organic
....
end

To address scenarios with subgraphs, the following approach could be used

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

@stale
Copy link

stale bot commented Jun 29, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Type: New Shape Request for new shape label Jun 29, 2019
@knsv
Copy link
Collaborator

knsv commented Jun 30, 2019

Thanks for your input. I think you have a good point here in a general sense. Currently the layout mechanism is using a dagre algorithm. It would be powerfull to add the possibility to specify which layout algoritm to use. #867

I will close this one but link to it from #867. I will modify the syntax a bit. Default layout would for instance be current behavior. I dont want to breake a bunch of diagrams out there.

@knsv knsv closed this as completed Jun 30, 2019
@jgroom33
Copy link
Author

Thanks. I appreciate the review

@mjaggard
Copy link

mjaggard commented Jul 6, 2023

@knsv But now both #867 and this issue got closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Shape Request for new shape
Projects
None yet
Development

No branches or pull requests

3 participants