Fix Pack
3

Actions for exporting topologies to the SVG format

By using the bizappscli tool, you can export your business application topology to the SVG format.

exportTopology

This action exports the business application topology to the SVG format. The following options are available:
  • -f, --filename <arg> - defines the destination file where the topology is exported. If you do not specify a path, the file is created in the current working directory. If the file with the specified name exists, it is overwritten. If you do not specify the file name, the results are printed on the standard output.
  • -g, --guid <arg> - defines the GUID of the business application.
  • -n, --name <arg> - defines the name of the business application.
  • -z, --zip - compresses the destination file to the .zip format. The .zip extension is added automatically. You can use it only with the -f option.
Important: One of the following options is required: -g, or -n.
For example, to export the topology of the business application named my_app to the output file named my_app_graph.svg, run the tool in the following way:
bizappscli.sh exportTopology -n my_app -f my_app_graph.svg
Limitation: The business application topology is always exported with highlighted core CIs. If you want the changed CIs, not the core CIs, to be highlighted, follow the procedure that is described in the Exporting a topology topic.
Tip: When the exported topology is displayed, CI labels that are long are truncated. To view the full labels, hover the mouse over a CI node in the graph to display the tooltip, where you can find the full label and GUID. A viewer compliant with SVG 1.1 standard is required, for example Mozilla Firefox web browser.

Related properties

When you have large business applications, you might need to modify the default values for the following properties:
  • com.ibm.taddm.bizappscli.jvmArgs=-Xmx1024M
    This property defines JVM options for the bizappscli tool usage. If there is not enough memory to run the tool, you can increase the maximum heap size of JVM processes by modifying the value of this property in the $COLLATION_HOME/sdk/etc/collation.properties file.
  • com.collation.view.maxnodes=500
    This property specifies the maximum number of nodes that can be viewed in a topology graph in the Data Management Portal. You can modify the default value in the $COLLATION_HOME/dist/etc/collation.properties file.