Crates.io | mcai-graph-renderer |
lib.rs | mcai-graph-renderer |
version | 0.2.2 |
source | src |
created_at | 2022-09-30 14:44:08.829736 |
updated_at | 2022-10-07 10:22:18.615707 |
description | Graph renderer for Media Cloud AI Workflows representation |
homepage | |
repository | |
max_upload_size | |
id | 677348 |
size | 463,061 |
Library to automate MCAI worfklow graph generation.
As of now, the crate supports the following formats:
The repo includes a binary that can be installed and started with the following arguments:
argument | short | required | description |
---|---|---|---|
--input_file | -i | true | Path to the workflow JSON file. |
--output_file | -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). | |
--x_gap | false | Horizontal space between nodes (default: 50). | |
--y_gap | false | Vertical space between nodes (default: 50). | |
--help | false | Display help. | |
--version | -V | false | Version number. |
mcai-workflow-renderer -f "/path/to/workflow.json" --format svg -o generated_graph.svg