| ... |
... |
@@ -4,7 +4,7 @@ |
| 4 |
4 |
You might want to have a look at the //Live// section of our exemplary server at [[http:~~/~~/layout.rtsys.informatik.uni-kiel.de:9444>>url:http://layout.rtsys.informatik.uni-kiel.de:9444||shape="rect"]] to play around. |
| 5 |
5 |
{{/info}} |
| 6 |
6 |
|
| 7 |
|
-== Language Bindings == |
|
7 |
+= Language Bindings = |
| 8 |
8 |
|
| 9 |
9 |
Each zip archive contains the wrapper class you can use to call our service as well as a small example illustrating the usage pattern for the specific language. |
| 10 |
10 |
|
| ... |
... |
@@ -12,7 +12,7 @@ |
| 12 |
12 |
* [[Java>>attach:Java-0.1.0.zip]] |
| 13 |
13 |
* [[C#>>attach:C#-0.1.0.zip]] |
| 14 |
14 |
|
| 15 |
|
-== Examples == |
|
15 |
+= Examples = |
| 16 |
16 |
|
| 17 |
17 |
The graph is passed in serialized form of either graph format. In this example we use the JSON format (for JavaScript also native JSON can be passed). |
| 18 |
18 |
|
| ... |
... |
@@ -59,6 +59,20 @@ |
| 59 |
59 |
String layouted = KIELER.KIELERLayout.layout(server, "org.json", "org.json", options, graph); |
| 60 |
60 |
{{/code}} |
| 61 |
61 |
|
| 62 |
|
- |
|
62 |
+= Available Layout Algorithms and Options = |
| 63 |
63 |
|
|
64 |
+{{warning}} |
|
65 |
+The following features are not part of the release yet, please refer to our nightly builds if you would like to try them. |
|
66 |
+{{/warning}} |
|
67 |
+ |
|
68 |
+The available layout algorithms along with the available options and some further information can be requested under the following URL. A JSON object is returned, the structure and contained data equals the //ServiceData// class in the diagram shown below. Furthermore, several algorithms offer a //preview image// illustration a possible result. You can retrieve this image as a png using the second URL. Optionally the image can be retrieved base64 encoded. |
|
69 |
+ |
|
70 |
+{{noformat}} |
|
71 |
+http://layout.rtsys.informatik.uni-kiel.de:9444/layout/serviceData |
|
72 |
+ |
|
73 |
+http://layout.rtsys.informatik.uni-kiel.de:9444/layout/previewImage/[imgPath][?base64=true] |
|
74 |
+{{/noformat}} |
|
75 |
+ |
|
76 |
+[[image:attach:ServiceData.png]] |
|
77 |
+ |
| 64 |
64 |
|