A reduced version of the graph layout code is available.
You can use this reduced version of the graph layout classes when
you use server-side graph layout.
The reduced graph layout code is available in the ibm_ilog.graphlayout_ssgl module.
To use it, set your module path to use this directory instead of the
standard ibm_ilog.graphlayout module:
<script type="text/javascript"> var djConfig = { modulePaths: { 'ibm_ilog.diagram': '../ibm_ilog/diagram', 'ibm_ilog.ibm_graphlayout': '../ibm_ilog/graphlayout_ssgl' } }; </script>
The ibm_ilog.graphlayout_ssgl code
contains only the minimum classes and code to set the graph layout
parameters, so that they can be serialized to the server. It does
not contain the code of the layout algorithm, so if you use the reduced
version, you cannot execute graph layouts in the browser.
The ibm_ilog.graphlayout_ssgl also
contains layered versions of the reduced code. The names of the layer
files are the same as in the ibm_ilog/graphlayout directory.