Bug 516265 - [StateMachineDiagram] States with large names are difficult to read
Summary: [StateMachineDiagram] States with large names are difficult to read
Status: ASSIGNED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ansgar Radermacher CLA
QA Contact:
URL:
Whiteboard: blockingpapyrusrt
Keywords:
Depends on:
Blocks: 513041
  Show dependency tree
 
Reported: 2017-05-05 14:02 EDT by Charles Rivet CLA
Modified: 2017-10-25 15:00 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Rivet CLA 2017-05-05 14:02:25 EDT
When a state is created with a long name, the default graphical representation leaves very little margin to the border of the state, making the diagram less legible and requiring the modeler to resize the state to keep it legible.
A new created state should always be created with enough space so that its name is easily legible, e.g., leaving larger margins (e.g., 5-7 pixels).

This would improve usability and readability of the state machine diagram.
Comment 1 Peter Cigehn CLA 2017-05-08 03:54:23 EDT
I would suggest to make the margin aligned with the legacy tooling and have a margin of 12 pixels. See Bug 513041 Comment 3.
Comment 2 Ansgar Radermacher CLA 2017-05-09 04:27:14 EDT
I agree that the automatic width calculation should leave some space around the name.
Comment 3 Eclipse Genie CLA 2017-05-31 09:26:31 EDT
New Gerrit change created: https://git.eclipse.org/r/98320