cyclient.apply.getLayoutParameters
cyclient.apply.getLayoutParameters(algorithmName, verbose=None)
Returns all editable parameters for the Layout algorithm specified by the algorithmName parameter.
algorithmNameName of the Layout algorithm-
verboseprint more -
returns200: successful operation
cyclient.apply.copyCurrentLayout
cyclient.apply.copyCurrentLayout(sourceViewSUID, targetViewSUID, body, verbose=None)
Copy one network view layout onto another, setting the node location and view scale to match. This makes visually comparing networks simple.
sourceViewSUIDSource network view SUID (or "current")targetViewSUIDTarget network view SUID (or "current")bodyClone the specified network view layout onto another network view -- Not required, can be None-
verboseprint more -
returns200: successful operation; 404: Network View does not exist
cyclient.apply.updateLayoutParameters
cyclient.apply.updateLayoutParameters(algorithmName, body, verbose=None)
Updates the Layout parameters for the Layout algorithm specified by the algorithmName parameter.
algorithmNameName of the layout algorithmbodyA list of Layout Parameters with Values.-
verboseprint more -
returnsdefault: successful operation
cyclient.apply.applyStyle
cyclient.apply.applyStyle(styleName, networkId, verbose=None)
Applies the Visual Style specified by the styleName parameter to the network specified by the networkId parameter.
styleNameName of the Visual StylenetworkIdSUID of the Network-
verboseprint more -
returns200: successful operation
cyclient.apply.getCompatibleColumnDataTypes
cyclient.apply.getCompatibleColumnDataTypes(algorithmName, verbose=None)
Returns a list of all compatible column data types for the Layout algorithm specified by the algorithmName parameter.
algorithmNameName of layout algorithm-
verboseprint more -
returns200: successful operation
cyclient.apply.fitContent
cyclient.apply.fitContent(networkId, verbose=None)
Fit the first available Network View for the Network specified by the networkId parameter to the current window.
networkIdSUID of the Network-
verboseprint more -
returns200: successful operation
cyclient.apply.getStyleNames
cyclient.apply.getStyleNames(verbose=None)
Returns a list of all Visual Style names. Style names may not be unique.
-
verboseprint more -
returns200: successful operation
cyclient.apply.bundleEdge
cyclient.apply.bundleEdge(networkId, verbose=None)
Apply edge bundling to the Network specified by the networkId parameter. Edge bundling is executed with default parameters; at present, optional parameters are not supported.
networkIdSUID of the Network-
verboseprint more -
returns200: successful operation
cyclient.apply.getLayout
cyclient.apply.getLayout(algorithmName, verbose=None)
Returns all the details, including names, parameters, and compatible column types for the Layout algorithm specified by the algorithmName parameter.
algorithmNameName of the Layout algorithm-
verboseprint more -
returns200: successful operation
cyclient.apply.layoutList
cyclient.apply.layoutList(verbose=None)
Returns all available layouts as a list of layout names.
Important Note
This does not include yFiles layout algorithms, due to license issues.-
verboseprint more -
returns200: successful operation
cyclient.apply.applyLayout
cyclient.apply.applyLayout(algorithmName, networkId, column, verbose=None)
Applies the Layout specified by the algorithmName parameter to the Network specified by the networkId parameter. If the Layout is has an option to use a Column, it can be specified by the column parameter.
algorithmNameName of layout algorithmnetworkIdSUID of the NetworkcolumnName of the Column to be used by the Layout -- Not required, can be None-
verboseprint more -
returns200: successful operation