Changes for page JavaScript (KLayJS)
Last modified by Richard Kreissig on 2023/09/14 10:14
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
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- GeCci"/}}4 +* {{mention reference="XWiki.uru" style="FULL_NAME" anchor="XWiki-uru-DwfhL"/}} 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. ... ... @@ -16,8 +16,10 @@ 16 16 17 17 = Downloads = 18 18 19 - Wedeploy three versions of the JavaScript library thatonlydiffer in the useofthe specific [[GWTLinker>>url:http://www.gwtproject.org/javadoc/latest/com/google/gwt/core/ext/Linker.html||shape="rect"]].19 +[[doc:Downloads - KLayJS]] 20 20 21 +{{excerpt-include/}} 22 + 21 21 * **Standard Linker** 22 22 I.e. GWT's [[IFrameLinker >>url:http://www.gwtproject.org/javadoc/latest/com/google/gwt/core/linker/IFrameLinker.html||shape="rect"]]that "//loads the GWT module in a separate iframe//". 23 23 * **Custom Linker** ... ... @@ -24,23 +24,10 @@ 24 24 The linker extends GWT's [[DirectInstallLinker>>url:http://www.gwtproject.org/javadoc/latest/com/google/gwt/core/linker/DirectInstallLinker.html||shape="rect"]] and enables the library to be used with, for instance, Chrome Packaged Apps. According to the javadoc the linker "//adds a script tag to the iframe rather than downloading the code as a string and then installing it into the iframe//". However, when using this linker a lot of GWT's variables will be added to the global namespace. 25 25 * **Web Worker Linker** 26 26 The linker allows to use our library with a [[Web Worker>>url:http://en.wikipedia.org/wiki/Web_worker||shape="rect"]]. It removes GWT generations that are not required for our use case, e.g. loading of browser specific permutations. A bower component is available on GitHub (Thanks to [[automata>>url:https://github.com/automata||shape="rect"]]), a specific example further down on this page. 29 +\\ 27 27 28 - 31 +== API == 29 29 30 -{{panel title="Releases"}} 31 -Near future 32 -{{/panel}} 33 - 34 -{{panel title="Nightly Builds"}} 35 -[[http:~~/~~/rtsys.informatik.uni-kiel.de/~~~~kieler/files/nightly/klayjs/>>url:http://rtsys.informatik.uni-kiel.de/~~kieler/files/nightly/klayjs/||shape="rect"]] 36 -{{/panel}} 37 - 38 -{{panel title="Bower Component on GitGub (Web Worker)"}} 39 -[[https:~~/~~/github.com/automata/klay-js>>url:https://github.com/automata/klay-js||shape="rect"]] 40 -{{/panel}} 41 - 42 -= API = 43 - 44 44 This documentation targets the //Default Linker// and //Custom Linker//. The //Web Worker Linker// has a slightly different API, please refer to the GitHub page for more information. 45 45 46 46 {{code language="js"}}
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -9471 1341 +9471887 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9471 134/JavaScript (KLayJS)1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9471887/JavaScript (KLayJS)