Changes for page KGraph Meta Model

Last modified by Alexander Schulz-Rosengarten on 2023/09/13 12:18

From version 3.1
edited by msp
on 2012/04/18 15:14
Change comment: There is no comment for this version
To version 2.1
edited by msp
on 2012/04/18 15:12
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,4 @@
1 -(% class="wikipage searchable" %)
1 +(% class="wikipage searchable" style="" %)
2 2  (((
3 3  (((
4 4  See also KLayoutData and KRendering.
... ... @@ -15,10 +15,10 @@
15 15  
16 16  Each element of the graph may contain arbitrary additional data, which must implement the interface KGraphData. There are two important extending models that use this interface: KLayoutData, which is used to store layout data for the graph, and KRendering, which adds graphical information. Graph data inherits from the plain Java IPropertyHolder interface, which enables it to provide a key-value mapping. Keys are IProperty instances, which have an identifier string and a type, and values are arbitrary objects of the corresponding type. This mapping is transient and is thus not stored in the XML format. The makePersistent() operation can be used to translate the mapping into a serializable list of string pairs.
17 17  
18 +(% style="" %)
18 18  == API Example ==
19 19  
20 20  {{code theme="Eclipse" language="java"}}
21
22 22   KGraphFactory factory = KGraphFactory.eINSTANCE;
23 23   KNode myGraph = factory.createKNode();
24 24  
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -885080
1 +885077
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/885080/KGraph Meta Model
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/885077/KGraph Meta Model