An open API service indexing awesome lists of open source software.

https://github.com/martinitus/rs-plode

Trait definitions and implementation that help layouting and rendering graphs.
https://github.com/martinitus/rs-plode

Last synced: 2 months ago
JSON representation

Trait definitions and implementation that help layouting and rendering graphs.

Awesome Lists containing this project

README

          

# Graph layout in rust

This crate provides trait definitions and implementation that help to layout and render graphs.

# Features

- support for [petgraph](https://github.com/petgraph/petgraph) graphs (via the `petgraph` feature flag)
- basic layout engine (Fruchterman Reingold approach)
- basic static or animated svg rendering (via `svg` feature flat)

# Example renderings

More examples can be found [here](./examples)

## Tetrahedron

![tetrahedron](./examples/tetrahedron.svg)

## Triangulated Triangle

![triangulated triangle](./examples/triangulated-triangle.svg)

## Tree

![tree](./examples/tree.svg)

## Prism

![prism](./examples/prism.svg)