Skip to content

tglman/tileline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ef02fb3 · Nov 28, 2023

History

34 Commits
May 31, 2023
Oct 4, 2023
Apr 30, 2023
Aug 28, 2023
Nov 28, 2023
Oct 4, 2023
Oct 4, 2023
Nov 28, 2023
Nov 28, 2023
Apr 30, 2023
Apr 30, 2023
Apr 30, 2023
Oct 4, 2023
Apr 30, 2023

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.