-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
Make joint.js editing not rely on clicking on the class icon at the top left of each class #1136
Comments
Hi, @TimLethbridge. I investigated the JointJs Api and our implementation today and here are a few things I would like to comment on this issue.
So I think a few potential fixes to this issue I am proposing here are:
However, none of this is a really satisfying solution, so I would be really appreciate if you can comment on this when you have the time. |
Some comments on this: The 'side panel' approach is not desirable. That is a step back and is something I have been wanting to avoid in Umple. We made a decision 10 years ago that we would not do that. It is one of the reasons for the complexity of other tools. One option is to actually contribute to joint.js itself as a projet! Clearly joint.js has weaknesses currently. But for now I think the option is to see if we can add a pencil icon next to the garbage icon in the class box. |
@TimLethbridge FYI, this approach will end up making that pencil icon not triggering any actions related to underlying class rectangle (e.g. dragging, adding associations). This is true for the current delete icon in joint.js diagram. |
Currently to move a class around in a joint.js class diagram you have to click on the little class icon at the top left of the class box. Clicking anywhere else does not work. It should be possible to drag anywhere in the class box to move a class; all graphics editors I am aware of would allow moving by placing the cursor anwhere; the current way it works is not 'discoverable'. Take a look at how moving works in the older editable class diagrams. The only time you can drag a class is after clicking to edit and bringing up and edit box.
Similarly, if you are trying to add an association, you have to first click on the 'Assocation' icon, then cllick on the little icons at the top left of the two class boxes. You should be able to click anywhere in the class boxes.
This issue is spun off from #600 -- which is the master issue for joint.js.
The text was updated successfully, but these errors were encountered: