public class GraphVisualization extends Object
Graph or a Workflow instance, creates a visually appealing output
using nidi-graphviz library in either .dot or .png format into PARENT_FOLDER_NAME.
Applying memory constraints, the width of the resulting .png is limited to PNG_WIDTH.
| Constructor and Description |
|---|
GraphVisualization() |
| Modifier and Type | Method and Description |
|---|---|
static String |
graphToDot(Graph graph) |
static void |
graphToPng(Graph graph,
String fileName) |
static void |
workflowToPng(Workflow workflow,
String fileName) |
public static void graphToPng(Graph graph, String fileName) throws IOException
IOExceptionpublic static void workflowToPng(Workflow workflow, String fileName) throws IOException
IOExceptionCopyright © 2021 Apache Software Foundation. All rights reserved.