microsoft / microsoft/automatic-graph-layout
Layout question: How can I center the vertical alignment of all subgraphs/clusters and nodes?
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 319
- Avg merge
- 38m
- Merged PRs (30d)
- 1
Description
Is it possible to center the vertical alignment of all subgraphs/clusters and nodes? I like how DOT lays out the subgraphs/clusters + how Mermaid lays out the nodes. I attached a rendering from MSAGL, DOT, and Mermaid for reference, as well as a mockup of what I want to accomplish.
Here's that MSAGL renders:

Here's what DOT renders:

Here's what Mermaid renders:

Here's a mockup of the layout I want:

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by reviewing the graph layout and subgraph/cluster handling in the repository, then compare MSAGL's rendering with the attached DOT, Mermaid, and mockup references. Done would mean a defined implementation approach that centers the vertical alignment of the requested clusters and nodes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100