Skip to content

Does Sirius support a grid diagram? #445

Answered by pcdavid
Cirtl asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

I'm not sure this is what you're asking for, but there is support for enabling a "snap to grid" behavior.
Click on the diagram's background and in the Properties view this can be configured in the "Rulers & Grid" tab:

If your question is more "can I enforce the position where a node should be displayed depending on some properties in my semantic model", then no. For normal Sirius diagrams the position (and size) of a node on the canvas (or relative position inside its parent container) are considered purely graphical information with no relation to the semantic data. The only exception is for sequence diagrams which do have some very specific rules and constraints enforced between th…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Cirtl
Comment options

Answer selected by Cirtl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants