A library to generate SVG mock-ups out of Ewoks workflows.
Using pip:
pip install "git+https://github.com/ewoks-kit/ewoksdraw.git"Using pixi:
pixi add --pypi "ewoksdraw @ git+https://github.com/ewoks-kit/ewoksdraw.git"Note: the layout engine is a Rust extension. Prebuilt wheels are provided for Linux (x86_64, aarch64), Windows (x64) and macOS (Intel, arm64). Installing from Git, or on any other platform, builds it from source and requires a Rust toolchain and network access to GitHub.
from ewoks import load_graph
from ewoksdraw import graph_to_svg
# Load a graph with `ewoks.load_graph`
graph = load_graph(...)
# Generate the SVG
graph_to_svg(graph, output_path="my_workflow.svg")The ewoksdraw code and Rust binding use the MIT license. The bundled elk-rs layout engine uses EPL-2.0; see third-party notices for its license, attribution, and corresponding source code.