|recursive descend in a diagram [message #208286]
||Fri, 10 October 2008 15:17
Originally posted by: user.example.net|
I have a question about designing a recursive diagram editor with a
breadcrumb trail. can this be done in GMF?
It is a diagram on a network model (= nodes with connection ports +
connections between those ports, like the "logic" example). The model is
recursive, i.e. each node can be a composite node that contains a
network in itself. Composite nodes are displayed as nodes, not as
networks. To "drill down" in the network, an "expand" action is
performed on a recursive node.
now the tricky part:
On an expand action the current diagram is replaced by the (expanded)
network diagram of the expanded node. A breadcrumb trail allows to go
back up one or more levels in the drilldown.
I have some experience with GEF, with GEF I would make a special
container part for the root node to display the breadcrumb trail and in
the child area I would show only the container for the last node element
in the breadcrumb trail.
many thanks for any advice!
Powered by FUDForum
. Page generated in 0.01553 seconds