Skip to content

tglman/tileline

Repository files navigation

Tileline

Tileline is a simple library to generate SVG block graph that represents a set of events, it has API for generic block graphs, and a year block graph, with the ability to associate links to specific blocks.

Here an example output:

Year Line

Status

Supported Features

  • Simple Block Graph
  • Simple Block Graph with labels
  • Year Block Graph (year_line feature flag)

Potential Features

  • API with pre-defined colors by value instead of RGB value
  • Multiple preconfigured set of colors

Use

Just add it as dependency in your project toml.

tileline = "0.1.0"

With additional year block graph

tileline = {version="0.1.0", features=["year_line"]} 

Development

Being a rust project just make sure to have your rust compiler setup and then:

Base build:

cargo build --all-features

Run Tests:

cargo test --all-features

License

Unless explicitly stated otherwise, all work is subject to the terms of the MIT/Apache-2.0.

About

Simple library to generate SVG block graph

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published