Skip to main content

Overview

Behold, automatically generated diagrams and animations for your data! reftree is a Scala and Scala.js library that allows you to create data structure visualizations with very little effort.

teaser

There are a few ways you can use reftree:

Features

  • Pre-made visualizations of many standard collections: lists, queues, vectors, etc.

    lists

  • Automatic visualization of case classes (using shapeless).

    case class Employee(
    name: String,
    salary: Long
    )

    case class Startup(
    name: String,
    founder: Employee,
    team: List[Employee]
    )

    startup

  • Static diagrams as well as animations can be generated.

  • Hassle-free captions (using sourcecode).

  • Scala.js support (experimental).