<
From version < 7.1 >
edited by uru
on 2014/03/03 04:33
To version < 8.1 >
edited by uru
on 2014/03/06 01:15
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,7 @@
1 1  {{panel title="Project Overview" borderStyle="dashed"}}
2 2  Responsible:
3 3  
4 -* {{mention reference="XWiki.uru" style="FULL_NAME" anchor="XWiki-uru-nPAuD"/}}
4 +* {{mention reference="XWiki.uru" style="FULL_NAME" anchor="XWiki-uru-OjBPG"/}}
5 5  {{/panel}}
6 6  
7 7  The KLay JS project provides our Java-based layout algorithms to the JavaScript community. We leverage the Java to JavaScript compiler of the [[Google Web Toolkit (GWT) >>url:http://www.gwtproject.org/||shape="rect"]]to convert our Java code into a JavaScript library. This allows you to use the full power of our layout algorithms in pure JavaScript.
... ... @@ -30,7 +30,49 @@
30 30  * **options** - a JSON object containing layout options that should be used for every hierarchy level of the graph. The same effect can be achieved by specifying the //properties //for every compound node, however, using the //options// object offers a more convenient way. Further information on available layout options can be found [[here>>url:http://layout.rtsys.informatik.uni-kiel.de:9444/Providedlayout.html?algorithm=de.cau.cs.kieler.klay.layered||shape="rect"]].
31 31  * **success(//layouted//)** - a function to be called upon success, the layouted graph is passed as argument.
32 32  * **error(//obj//)** - a function to be called if an error occurs, an object is passed as argument which contains a //text// field with further information about the error.
33 +\\
34 +** (((
35 +|=(((
36 +Field
37 +)))|=(((
38 +Description
39 +)))
40 +|(((
41 +type
42 +)))|(((
43 +The type of the error, e.g. an invalid graph format.
44 +)))
45 +|(((
46 +text
47 +)))|(((
48 +Further description of the problem that occurred.
49 +)))
50 +|=(% colspan="2" %)(% colspan="2" %)
51 +(((
52 +Additional Information Invalid Graph Format
53 +)))
54 +|(% colspan="1" %)(% colspan="1" %)
55 +(((
56 +value
57 +)))|(% colspan="1" %)(% colspan="1" %)
58 +(((
59 +The JSON object that caused the problem
60 +)))
61 +|(% colspan="1" %)(% colspan="1" %)
62 +(((
63 +context
64 +)))|(% colspan="1" %)(% colspan="1" %)
65 +(((
66 +The context of theĀ 
33 33  
68 +{{code language="none"}}
69 +value
70 +{{/code}}
71 +
72 +, e.g. if the value is an edge, the context is the containing node.
73 +)))
74 +)))
75 +
34 34  === Dedicated KlayJS Options ===
35 35  
36 36  We offer some options that have influence of the behavior of the JavaScript interface. These options are listed below.
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -9469981
1 +9469982
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9469981/JavaScript (KLayJS)
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9469982/JavaScript (KLayJS)