MDS spacing
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- computer-graphics
Research direction
Start with the MDS and rectilinear layout settings shown in the issue and reproduce the spacing using the provided C# snippet. Inspect how NodeSeparation, RemoveOverlaps, and edge-routing padding affect the result, then compare it with the attached image. Done means the excessive spacing is explained and the layout produces appropriately reduced spacing.
Written by the indexing model from the issue text.
Description
I am trying to use MDS / rectiliniear layout, but the spacing is very high:
// MDS
var settings = new Microsoft.Msagl.Layout.MDS.MdsLayoutSettings();
settings.EdgeRoutingSettings = new Microsoft.Msagl.Core.Routing.EdgeRoutingSettings();
switch (li)
{
case 3:
settings.EdgeRoutingSettings.EdgeRoutingMode =
Microsoft.Msagl.Core.Routing.EdgeRoutingMode.Spline;
break;
case 4:
settings.EdgeRoutingSettings.EdgeRoutingMode =
Microsoft.Msagl.Core.Routing.EdgeRoutingMode.Rectilinear;
settings.RemoveOverlaps = true;
settings.NodeSeparation = 1;
settings.EdgeRoutingSettings.Padding = 0.1;
settings.EdgeRoutingSettings.PolylinePadding = 0.1 ;
break;
}
return settings;
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 317
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from microsoft/automatic-graph-layout
-
Difficulty 3/5 1-2 days Newbie friendliness 64/100
microsoft/automatic-graph-layout#395 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Issue with framework reference in the GraphViewerGDI.nuspecMay be free again @levnach claimed this 261 days ago, and no pull request is open. Open
microsoft/automatic-graph-layout#390 · 6 comments · 2 reactions · 2 assignees ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
microsoft/automatic-graph-layout#389 · 1 comment · 1 reaction ·
All issues in microsoft/automatic-graph-layout
Similar issues
-
S: Untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
space-wizards/space-station-14#46357 ·
Maintainers usually reply within 1 day
-
Versioning_oM: Remove unneeded depeendecy on Test_oMPossibly taken @IsakNaslundBh claimed this today. Opentype:bug type:compliance
Difficulty 2/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
MicrosoftLearning/PL-400_Microsoft-Power-Platform-Developer#231 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
joinrpg/joinrpg-net#5313 ·
Maintainers usually reply within 1 day