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.
There are a few ways you can use reftree
:
- improving the documentation of your projects;
- live-coding demos and talks;
- exploring how things work;
- anywhere you need diagrams of your Scala data structures.
Features
-
Pre-made visualizations of many standard collections: lists, queues, vectors, etc.
-
Automatic visualization of case classes (using shapeless).
case class Employee(
name: String,
salary: Long
)
case class Startup(
name: String,
founder: Employee,
team: List[Employee]
) -
Static diagrams as well as animations can be generated.
-
Hassle-free captions (using sourcecode).
-
Scala.js support (experimental).