|Re: Connections inside ContainerShapes [message #717159 is a reply to message #717109]
||Fri, 19 August 2011 09:19
| Robert Brodt
Registered: August 2010
Location: Colorado Springs, CO
Thanks for the quick response. Just to give you some context here: I'm working on the BPMN2 Modeler (http://www.eclipse.org/bpmn2-modeler) specifically the sub-process element. A sub-process can have a "collapsed" and "expanded" state; when collapsed, the figure looks exactly like any other task figure in the editor except it has a "+" activator button which, when clicked, changes its state to expanded. In the expanded state, it *should* behave very much like the top-level diagram except that it should still have the same visuals as before (i.e. no grid lines, gradient background, etc.). Sub-processes can contain tasks and connections and when it is resized, the task figures are correctly clipped but the connections are not (as you already know). This makes for a very confusing user experience as the sub-process figure is rearranged to achieve an optimal layout.
I tried adding a Diagram as a child of the sub-process' ContainerShape and then adding the connections to that Diagram, but this does not appear to have any effect (the connections still are not clipped).
I've also considered using a drilldown feature, but this makes for an even more confusing user experience - an expanded sub-process is intended to be viewed within the context of the entire process and additional editor tabs or windows defeat that purpose.
I suppose an acceptable solution would be to constrain the minimum size of an expanded sub-process so that all of its child elements are visible...any other suggestions?
Powered by FUDForum
. Page generated in 0.01662 seconds