GraphUtils
metExploreViz.GraphUtils provides some functions dedicated to save and export your visualization in differents format.
Some functions are dedicated to export your network visulization in differents format.
#
metExploreViz.GraphUtils.exportPNG(size) This function allows you to export your network visualization as png format.
metExploreViz.GraphUtils.exportPNG(1);#
metExploreViz.GraphUtils.exportJPG(size) This function allows you to export your network visualization as jpg format.
metExploreViz.GraphUtils.exportJPG(2);#
metExploreViz.GraphUtils.exportSVG() This function allows you to export your network visualization as svg format.
metExploreViz.GraphUtils.exportSVG(); Some functions are dedicated to save and download network, styles or nodes coordinates.
#
metExploreViz.GraphUtils.saveNetworkDot() This function allows you to save and download your network as dot.
metExploreViz.GraphUtils.saveNetworkDot();#
metExploreViz.GraphUtils.saveNetworkGml() This function allows you to save and download your network as gml.
metExploreViz.GraphUtils.saveNetworkGml();#
metExploreViz.GraphUtils.saveNetworkJSON() This function allows you to save and download your network as json.
metExploreViz.GraphUtils.saveNetworkJSON();#
metExploreViz.GraphUtils.saveNetworkCoordinates() This function allows you to save and download nodes coordinates as json.
metExploreViz.GraphUtils.saveNetworkCoordinates();#
metExploreViz.GraphUtils.saveStyles(scaleRange, bool) This function allows you to save and download network styles as json.
var scale = metExploreViz.getStyles();
metExploreViz.GraphUtils.saveStyles(scale, true);