Changes for page KGraph Meta Model
Last modified by Alexander Schulz-Rosengarten on 2023/09/13 12:18
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,0 @@ 1 -Infrastructure for Meta Layout (KIML) - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. msp1 +XWiki.cds - Content
-
... ... @@ -57,10 +57,12 @@ 57 57 KPort port2 = factory.createKPort(); 58 58 port2.setNode(node2); 59 59 60 - // Settingthe sourceport / targetport reference automatically61 - // adds anedgetotheport's listof edges.60 + // The 'edges' and 'sourcePort' / 'targetPort' references are not 61 + // opposite, so they all have to be set explicitly. 62 62 edge.setSourcePort(port1); 63 + port1.getEdges().add(edge); 63 63 edge.setTargetPort(port2); 65 + port2.getEdges().add(edge); 64 64 {{/code}} 65 65 66 66 A larger example that uses the KGraph for automatic layout is found inĀ [[standalone/LayoutTest/src/test/layout/Test.java>>url:http://rtsys.informatik.uni-kiel.de/fisheye/browse/kieler/standalone/LayoutTest/src/test/layout/Test.java||shape="rect"]].
- kgraph.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -82.4 KB - Content
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 - 8850751 +9469960 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/ 885075/KGraph Meta Model1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9469960/KGraph Meta Model