microsoft / microsoft/automatic-graph-layout

[Question] Placement of isolated nodes

Open
#257 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
1.5k
Forks
319
Avg merge
38m
Merged PRs (30d)
1

Description

I'm using the AutomaticGraphLayout package to lay out ~200-300 nodes with varying edge counts between them (between 0 and 30).

Currently I'm using a SugiyamaLayout, but that seems to have issues with isolated nodes (some nodes just don't have any edges), kind of sometimes grouping them and sometimes scattering them around.

Is there

  1. a way to control placement of isolated nodes with SugiyamaLayout
  2. a better layout algorithm in this library for such a case
  3. a comparison page which layout is suited towards what kind of graph / data?

Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the AutomaticGraphLayout and SugiyamaLayout documentation and examples first, focusing on how nodes with zero edges are handled. Reproduce the behavior with a 200–300-node graph containing isolated nodes, then document whether placement can be controlled, which available layout is better, and whether a comparison guide is needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
computer-graphics
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.