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, 1 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,0 +1,1 @@ 1 +Infrastructure for Meta Layout (KIML) - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. cds1 +XWiki.uru - Content
-
... ... @@ -1,7 +1,7 @@ 1 1 ((( 2 2 KGraph is the central data structure in KIELER for representation of graphs. It was generated using [[EMF>>url:http://www.eclipse.org/modeling/emf/||style="text-decoration: none;" shape="rect" class="ext-link"]] and therefore inherits all capabilities of EMF models such as storage in XML format, transformation, and validation. The KGraph is used for several purposes: 3 3 4 -* as intermediate data structure in the [[KIML>>doc:Infrastructure for Meta Layout (KIML)]] project for exchanging layout information between graphical diagrams and graph layout algorithms, 4 +* as intermediate data structure in the [[KIML>>doc:KIELER.Home.Discontinued Projects.Infrastructure for Meta Layout (KIML).WebHome]] project for exchanging layout information between graphical diagrams and graph layout algorithms, 5 5 * as a file format for graphs in the [[KWebS>>doc:Web Services (KWebS)]] project, and 6 6 * as basic structure for the notational model of the [[KLighD>>doc:Lightweight Diagrams (KLighD)]] project. 7 7 ... ... @@ -57,12 +57,10 @@ 57 57 KPort port2 = factory.createKPort(); 58 58 port2.setNode(node2); 59 59 60 - // The'edges'and 'sourcePort'/'targetPort'referencesare not61 - // opposite,so theyallhave tobesetexplicitly.60 + // Setting the source port / target port reference automatically 61 + // adds an edge to the port's list of edges. 62 62 edge.setSourcePort(port1); 63 - port1.getEdges().add(edge); 64 64 edge.setTargetPort(port2); 65 - port2.getEdges().add(edge); 66 66 {{/code}} 67 67 68 68 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,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +82.4 KB - Content
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 - 94699601 +885075 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/ 9469960/KGraph Meta Model1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/885075/KGraph Meta Model