Join GitHub today
Hard to graphically edit generalization hierarchies in joint.js UmpleOnline diagrams #1140
If you display a class hierarchy (class with multiple subclasses) then joint.js does not give the user a good editing experience. As an example load the 2DShapes example
If you move a superclass (e.g. Shape2D), then line below the triangle becomes slanted instead of rectilinear. There is a work-around: Switch view mode to a different form (e.g. graphViz) and back.
However, if one attempts to make it rectilinear by grabbing the generalization, it splits into two generalizations.
The solution must be to always redraw the generalization whenever moving a class.
However, this is a symptom of a wider issue that fine-tuned editing of joint.js diagrams is wkweard