diff --git a/glsp-client/tasklist-glsp/src/views.tsx b/glsp-client/tasklist-glsp/src/views.tsx index 6a48c5a67d9b153d9f4e02d3e0e32bc84abf72b2..d102d619362b66d38117617bb9f070bbe4b313e2 100644 --- a/glsp-client/tasklist-glsp/src/views.tsx +++ b/glsp-client/tasklist-glsp/src/views.tsx @@ -45,6 +45,9 @@ export class DirectedEdgeView extends PolylineEdgeViewWithGapsOnIntersections { const additionals = super.renderAdditionals(edge, segments, context); const p1 = segments[segments.length - 2]; const p2 = segments[segments.length - 1]; + + // edge.parent.move(edge, edge.parent.children.length - 1); + const arrow = ( <path class-sprotty-edge={true} diff --git a/glsp-client/workspace/TopicNet.pnml b/glsp-client/workspace/TopicNet.pnml new file mode 100644 index 0000000000000000000000000000000000000000..fc98ca88882105da5181145428893706b8764f70 --- /dev/null +++ b/glsp-client/workspace/TopicNet.pnml @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8"?> +<pnml xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns="http://www.pnml.org/version-2009/grammar/pnml"> + <net id="TopicNet"> + <page id="2cb5ab82-a9fb-4760-8d62-f6ef53f3ea8a"> + <name text="App"/> + <nodegraphics> + <position x="71" y="37"/> + <dimension x="1502" y="914"/> + </nodegraphics> + <transition id="f003d33a-4103-406b-aa44-22e071934e33"> + <name text="SampleTopic"/> + <nodegraphics> + <position x="682" y="356"/> + <dimension x="100" y="150"/> + </nodegraphics> + <toolspecific tool="de.tudresden.inf.st.pnml.distributedPN" version="0.1" type="topicTransitionType" topicName="SampleTopic"> + <publishers> + <publisher id="44cda129-190d-4547-8ab4-884882afdc80" limit="10"/> + <publisher id="21e165ec-2581-48b3-a709-6a48339e8802" limit="10"/> + </publishers> + <subscribers> + <subscriber id="832d5479-0f9b-4e6d-abed-ec34c1d515a5" limit="10"/> + <subscriber id="f4dd73ef-9f10-4c2a-8b00-e2efbf5ce2e9" limit="10"/> + </subscribers> + </toolspecific> + </transition> + <page id="d88976e5-9364-4523-a301-afc978749778"> + <name text="Node1"/> + <nodegraphics> + <position x="93" y="218"/> + <dimension x="403" y="460"/> + </nodegraphics> + <place id="44cda129-190d-4547-8ab4-884882afdc80"> + <name text="NewPlace4"/> + <nodegraphics> + <position x="191" y="95"/> + <dimension x="70" y="70"/> + </nodegraphics> + <toolspecific tool="de.tudresden.inf.st.pnml.distributedPN" version="0.1" node="d88976e5-9364-4523-a301-afc978749778" subnet=""/> + </place> + <place id="21e165ec-2581-48b3-a709-6a48339e8802"> + <name text="NewPlace6"/> + <nodegraphics> + <position x="191" y="265"/> + <dimension x="70" y="70"/> + </nodegraphics> + <toolspecific tool="de.tudresden.inf.st.pnml.distributedPN" version="0.1" node="d88976e5-9364-4523-a301-afc978749778" subnet=""/> + </place> + <toolspecific tool="de.tudresden.inf.st.pnml.distributedPN" version="0.1" type="nodePageNode" serviceName="NewNode1"/> + </page> + <page id="36ac470c-feae-4f4b-8534-f74842c03507"> + <name text="Node2"/> + <nodegraphics> + <position x="978" y="213"/> + <dimension x="406" y="464"/> + </nodegraphics> + <place id="832d5479-0f9b-4e6d-abed-ec34c1d515a5"> + <name text="NewPlace8"/> + <nodegraphics> + <position x="183" y="90"/> + <dimension x="70" y="70"/> + </nodegraphics> + <toolspecific tool="de.tudresden.inf.st.pnml.distributedPN" version="0.1" node="36ac470c-feae-4f4b-8534-f74842c03507" subnet=""/> + </place> + <place id="f4dd73ef-9f10-4c2a-8b00-e2efbf5ce2e9"> + <name text="NewPlace10"/> + <nodegraphics> + <position x="176" y="254"/> + <dimension x="70" y="70"/> + </nodegraphics> + <toolspecific tool="de.tudresden.inf.st.pnml.distributedPN" version="0.1" node="36ac470c-feae-4f4b-8534-f74842c03507" subnet=""/> + </place> + <toolspecific tool="de.tudresden.inf.st.pnml.distributedPN" version="0.1" type="nodePageNode" serviceName="NewNode2"/> + </page> + </page> + </net> +</pnml> diff --git a/glsp-client/workspace/WorkflowNet.pnml b/glsp-client/workspace/WorkflowNet.pnml new file mode 100644 index 0000000000000000000000000000000000000000..c2c2361f956626f086e132898d6eba8f8dbfff47 --- /dev/null +++ b/glsp-client/workspace/WorkflowNet.pnml @@ -0,0 +1,98 @@ +<?xml version="1.0" encoding="UTF-8"?> +<pnml xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns="http://www.pnml.org/version-2009/grammar/pnml"> + <net id="example"> + <page id="9335acf6-4b97-4d53-a051-ea9e3dc9bd52"> + <name text="NewPage0"/> + <nodegraphics> + <position x="760" y="807"/> + <dimension x="1095" y="890"/> + </nodegraphics> + <arc id="08b7ced5-4a93-4bb2-b69d-f5c2bf9d3eff" source="e0726e15-25f1-46cb-aa92-ae1b0503a85e" target="961881c5-6820-4ab1-b329-06a5af2c8c5f"> + <name text="NewArc0"/> + </arc> + <arc id="19bc3945-6ca5-43ac-85b0-1f63d2e22571" source="961881c5-6820-4ab1-b329-06a5af2c8c5f" target="7c12def4-f37f-4948-96c7-a248088d1bee"> + <name text="NewArc1"/> + </arc> + <arc id="4d63045d-3913-4221-97a1-909b7b5b0b15" source="7c12def4-f37f-4948-96c7-a248088d1bee" target="8cb0c834-2b84-4b36-9395-f4238125bf40"> + <name text="NewArc2"/> + </arc> + <arc id="0b1721df-9724-48d2-87a5-001d19ce4131" source="02cb7814-11e3-496b-9d6a-4be829073826" target="7c12def4-f37f-4948-96c7-a248088d1bee"> + <name text="NewArc3"/> + <inscription text="2"/> + </arc> + <place id="961881c5-6820-4ab1-b329-06a5af2c8c5f" InArcs="08b7ced5-4a93-4bb2-b69d-f5c2bf9d3eff" OutArcs="19bc3945-6ca5-43ac-85b0-1f63d2e22571"> + <name text="NewPlace1"/> + <nodegraphics> + <position x="733" y="399"/> + <dimension x="70" y="70"/> + </nodegraphics> + <initialMarking text="4"/> + <toolspecific tool="de.tudresden.inf.st.pnml.distributedPN" version="0.1" node="9335acf6-4b97-4d53-a051-ea9e3dc9bd52" subnet=""> + <balloonMarking> + <tokens> + <token>Nominativ</token> + <token>Genitiv</token> + <token>Dativ</token> + <token>Akkusativ</token> + </tokens> + </balloonMarking> + </toolspecific> + </place> + <place id="8cb0c834-2b84-4b36-9395-f4238125bf40" InArcs="4d63045d-3913-4221-97a1-909b7b5b0b15"> + <name text="NewPlace6"/> + <nodegraphics> + <position x="305" y="295"/> + <dimension x="70" y="70"/> + </nodegraphics> + <initialMarking text="2"/> + <toolspecific tool="de.tudresden.inf.st.pnml.distributedPN" version="0.1" node="9335acf6-4b97-4d53-a051-ea9e3dc9bd52" subnet=""> + <balloonMarking> + <tokens> + <token>abc</token> + <token>xyz</token> + </tokens> + </balloonMarking> + </toolspecific> + </place> + <place id="02cb7814-11e3-496b-9d6a-4be829073826" OutArcs="0b1721df-9724-48d2-87a5-001d19ce4131"> + <name text="NewPlace11"/> + <nodegraphics> + <position x="776" y="202"/> + <dimension x="70" y="70"/> + </nodegraphics> + <initialMarking text="3"/> + <toolspecific tool="de.tudresden.inf.st.pnml.distributedPN" version="0.1" node="9335acf6-4b97-4d53-a051-ea9e3dc9bd52" subnet=""> + <balloonMarking> + <tokens> + <token>Hund</token> + <token>Katze</token> + <token>Maus</token> + </tokens> + </balloonMarking> + </toolspecific> + </place> + <transition id="7c12def4-f37f-4948-96c7-a248088d1bee" InArcs="19bc3945-6ca5-43ac-85b0-1f63d2e22571 0b1721df-9724-48d2-87a5-001d19ce4131" OutArcs="4d63045d-3913-4221-97a1-909b7b5b0b15"> + <name text="NewTransition3"/> + <nodegraphics> + <position x="537" y="280"/> + <dimension x="30" y="70"/> + </nodegraphics> + <toolspecific tool="de.tudresden.inf.st.pnml.distributedPN" version="0.1" type="discreteTransitionType" node="9335acf6-4b97-4d53-a051-ea9e3dc9bd52" subnet=""/> + </transition> + <transition id="e0726e15-25f1-46cb-aa92-ae1b0503a85e" OutArcs="08b7ced5-4a93-4bb2-b69d-f5c2bf9d3eff"> + <name text="NewTransition8"/> + <nodegraphics> + <position x="511" y="561"/> + <dimension x="30" y="70"/> + </nodegraphics> + <toolspecific tool="de.tudresden.inf.st.pnml.distributedPN" version="0.1" type="discreteTransitionType" node="9335acf6-4b97-4d53-a051-ea9e3dc9bd52" subnet="" inputsignalclause="Red and Blue"/> + </transition> + </page> + <toolspecific tool="de.tudresden.inf.st.pnml.distributedPN" version="0.1"> + <inputsignals> + <inputsignal inputsignalID="Red"/> + <inputsignal inputsignalID="Blue"/> + </inputsignals> + </toolspecific> + </net> +</pnml>