Skip to content

Changes

Summary

  1. Fix: Adding a node to a graph container adds it to the graph instead (details)
Commit f29e90d9d8f23657009b20ce7276303c95cc3490 by Alois Zoitl
Fix: Adding a node to a graph container adds it to the graph instead

When the constructors in the GraphNode class have been unified, we
wrongfully pass "graphModel.getGraph()" as an argument instead of the
current container. This causes all nodes to be added to the parent
graph.

See the UML example for reference. One of the class diagrams should be
contained by the UML container, but all three are part of the parent
graph instead.

Amends a13541fd21b23c8fdfb5c64a99321f7b8be44706
The file was modified org.eclipse.zest.core/src/org/eclipse/zest/core/widgets/GraphNode.java (diff)