Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indented tree layout algorithm #1099

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

stu241636
Copy link

Adds the IndentedTree layout algorithm for filesystem-like representations of trees without ports.
Currently, this involves a recursive depth-first-search to obtain a list of nodes ordered by parent-child relationship.
This might leave room for improvement.

Added an indented tree layout algorithm for filesystem-like
representations
Moved IntentedTree to correct the level in the hierarchy
Updated Spacings to only have default values where appropriate;
improved documentation of spacing options, including graphics.
@soerendomroes soerendomroes added this to the Release 0.10.0 milestone Dec 12, 2024
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this image doesn't show which node each property needs to be set on

also the text is cut off on the right

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In which representation/context did you see the text cut off?
The file itself is correctly cropped, perhaps it is too wide for some contexts?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The final "n" of indentation in pink is missing

plugins/org.eclipse.elk.alg.indentedtree/.project Outdated Show resolved Hide resolved
copyright headers, newlines, removed .gitignore from src-gen/ folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants