microsoft / microsoft/automatic-graph-layout

[Question] Layered layout support?

Open
#235 1 comment 0 reactions 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

Is it possible to calculate a layout similar to what ELK does in "layered" mode?

Layered mode

Specifically:

  • Nodes are placed on "layers", being aligned by X or Y axis depending on the graph orientation
  • Nodes have "ports", which indicate the side at which edges enter or leave the node
  • Edges are orthogonal
  • Edges never overlap nodes

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

Start by reviewing the repository’s existing layout entry points and any current handling of graph orientation, ports, and edge routing; the issue names no specific files or tests. Done would mean a layered layout mode that places nodes in aligned layers, respects port sides, routes orthogonal edges, and prevents edges from overlapping 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
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.