-
Notifications
You must be signed in to change notification settings - Fork 53
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
Diagram improvements #866
Diagram improvements #866
Conversation
228c9c6
to
46e6a73
Compare
…utton + complete custom configuration
3e4a071
to
c5ef64f
Compare
…x/diagram_improvements # Conflicts: # CHANGELOG.md # code/diagram/solutions/de.itemis.mps.editor.diagram.runtime/models/de/itemis/mps/editor/diagram/runtime/jgraph.mps # code/diagram/solutions/de.itemis.mps.editor.diagram.runtime/models/de/itemis/mps/editor/diagram/runtime/model.mps # code/solutions/de.itemis.mps.extensions.changelog/models/de.itemis.mps.extensions.changelog.mps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DiagramModel.myAutoRouteEdges
, DiagramModel.autoRouteEdges()
, DiagramModel.setAutoRouteEdges()
and everything else related to edge routing can probably just be removed as it is dead code.
</node> | ||
</node> | ||
</node> | ||
<node concept="3cpWs8" id="YGA9S4WPr9" role="3cqZAp"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All statements after .beginUpdate()
in DiagramActionsUtil.fitSizeAll
should be moved into the try
block. Otherwise, it's not guaranteed that .endUpdate()
is called if one of them throws an exception.
…overlap the buttons
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have performed smoke tests and reported some bugs to @alexanderpann. The code seems good enough for now. All issues that arise once this is merged should be solved in follow-up tickets.
More features are mentioned in the commit messages.