BPMNPlane question [message #903216] |
Wed, 22 August 2012 14:34  |
|
Hi all,
I'm not sure I understand the relationship of BPMNPlane elements to other DI model elements. It seems to me that you should be able to have containment of a BPMNPlane in a BPMNShape, something like this:
<bpmndi:BPMNDiagram id="BPMNDiagram_1" name="Default Process Diagram">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="process_1">
<bpmndi:BPMNShape id="BPMNShape_1" bpmnElement="StartEvent_1">
<dc:Bounds height="36.0" width="36.0" x="100.0" y="100.0"/>
<bpmndi:BPMNPlane>
<bpmndi:BPMNShape id="BPMNShape_2" bpmnElement="EndEvent_1">
<dc:Bounds height="36.0" width="36.0" x="500.0" y="100.0"/>
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
When I try this, the XML parser tells me that "Feature 'BPMNPlane' not found." What am I missing here? Is this even allowed?
Thanks!
Bob
[Updated on: Wed, 22 August 2012 14:35] Report message to a moderator
|
|
|
Re: BPMNPlane question [message #903217 is a reply to message #903216] |
Wed, 22 August 2012 14:48   |
|
Another interesting thing to note is that when I used the default BPMN2 Model editor to add a BPMNPlane as a child of another BPMNPlane, I see this:
<bpmndi:BPMNDiagram id="BPMNDiagram_1" name="Default Process Diagram">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="process_1">
<bpmndi:BPMNShape id="BPMNShape_Lane_1" bpmnElement="Lane_1" isHorizontal="true">
<dc:Bounds/>
</bpmndi:BPMNShape>
<di:DiagramElement xsi:type="bpmndi:BPMNPlane" id="_7klmwOxnEeGbVMzLJh8Eiw">
<bpmndi:BPMNShape id="_-OoyMOxnEeGbVMzLJh8Eiw"/>
<bpmndi:BPMNEdge id="_-OoyMexnEeGbVMzLJh8Eiw"/>
</di:DiagramElement>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
I would haved expected to see this instead:
<bpmndi:BPMNDiagram id="BPMNDiagram_1" name="Default Process Diagram">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="process_1">
<bpmndi:BPMNShape id="BPMNShape_Lane_1" bpmnElement="Lane_1" isHorizontal="true">
<dc:Bounds/>
</bpmndi:BPMNShape>
<bpmndi:BPMNPlane id="_7klmwOxnEeGbVMzLJh8Eiw">
<bpmndi:BPMNShape id="_-OoyMOxnEeGbVMzLJh8Eiw"/>
<bpmndi:BPMNEdge id="_-OoyMexnEeGbVMzLJh8Eiw"/>
</bpmndi:BPMNPlane>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02112 seconds