MCAI Graph renderer

Library to automate MCAI worfklow graph generation.

Supported output format

As of now, the crate supports the following formats:

Arguments

The repo includes a binary that can be installed and started with the following arguments:

|argument|short|required|description| |-|-|-|-| |--inputfile|-i|true|Path to the workflow JSON file.| |--outputfile|-o|true|Path to the output file.| |--format|-f|true|Format of the output graph.| |--width||false|Width of the nodes on the graph (default: 300).| |--height||false|Height of the nodes on the graph (default: 300).| |--xgap||false|Horizontal space between nodes (default: 50).| |--ygap||false|Vertical space between nodes (default: 50).| |--help||false|Display help.| |--version|-V|false|Version number.|

Example usage

shell mcai-workflow-renderer -f "/path/to/workflow.json" --format svg -o generated_graph.svg