goadesign / goadesign/model

AutoLayout DSL has no effect in mdl

Open
#805 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
467
Forks
23
Avg merge
6m
Merged PRs (30d)
8

Description

The documentation states
![image](https://github.com/user-attachments/assets/a87a07a8-794c-406f-ad29-e695dbc9087f), but it does not. mdl produces a graph with all nodes and edges in the top-left corner
![image](https://github.com/user-attachments/assets/1bc98285-3a8a-4414-8d03-ced145f0981b)
and the Auto Layout button in the editor produces a diagram with ranks from top to bottom, not left to right
![image](https://github.com/user-attachments/assets/251b86fc-3172-4823-845f-dfb65a6b536f)
After much digging I discovered that the AutoLayout DSL has no effect, as confirmed [here](https://github.com/goadesign/model/issues/648#issuecomment-2005662574).

Either the auto layout properties of views should be used in the mdl webapp, or the documentation should be updated.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.