Skip to content
ewoks-kitPublic

About

Render Ewoks workflows as SVG

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ewoksdraw

Pipeline Code style: black License

A library to generate SVG mock-ups out of Ewoks workflows.

Quick start

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.

Python

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")

License

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.

About

Render Ewoks workflows as SVG

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages