microsoft / microsoft/automatic-graph-layout

Help with layout

Open
#262 4 comments 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

I'm building an app to create entity relationship diagrams from data in a model. I'd like to have the nodes in the diagram spread out from each other in a rough spiral pattern around a central node. I've tried several different layouts with various parameter settings. I've attached some files showing the actual results vs the desired results. Any suggestions? In the samples, the hexagons are relations and the rectangles are the entities. Thanks in advance!

ER Diagram Simple desired
ER Diagram Simple
ER Diagram

ER Diagram desired

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

The issue names no files, tests, or entry point; start by comparing the attached actual and desired ER-diagram images with the layout options and parameter settings already tried. Done would require a concrete, reproducible layout approach that spreads relation and entity nodes in the requested rough spiral around a central node.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
data-visualization
Issue type
Feature
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.