mcai-graph-renderer

Crates.iomcai-graph-renderer
lib.rsmcai-graph-renderer
version0.2.2
sourcesrc
created_at2022-09-30 14:44:08.829736
updated_at2022-10-07 10:22:18.615707
descriptionGraph renderer for Media Cloud AI Workflows representation
homepage
repository
max_upload_size
id677348
size463,061
Marc-Antoine ARNAUD (MarcAntoine-Arnaud)

documentation

README

MCAI Graph renderer

Library to automate MCAI worfklow graph generation.

Supported output format

As of now, the crate supports the following formats:

  • SVG

Arguments

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.

Example usage

mcai-workflow-renderer -f "/path/to/workflow.json" --format svg -o generated_graph.svg
Commit count: 0

cargo fmt