Open rensink opened 13 years ago
Original comment by: rensink
Consideration: if deleting propagates along composite edges then switching on/off typing will change the behaviour of the rule system!
Original comment by: rensink
Original comment by: rensink
Original comment by: maartenm42
Original comment by: rensink
Original comment by: rensink
Original comment by: rensink
Added a check for cyclic containment
Original comment by: rensink
Composite edges are a stricter form of containment edges: they are immutable. This means that it can be statically checked that the composite structure is and remains a tree. (A composite edge can only be created if its target node is created at the same time.)
Having them will - reflect structures found in practice - allow layouting where the components are inside the parent node
Deleting a node should also delete its components (but maybe this can be a grammar-level property)
Reported by: rensink