D3TypeTrees.jl

Julia type hierarchy visualization
Author claytonpbarrows
Popularity
8 Stars
Updated Last
3 Years Ago
Started In
February 2019

D3TypeTrees.jl

Build Status

Build status

julia type hierarchy visualization

Installation

using Pkg
Pkg.add("D3TypeTrees")

Examples

The following will open a D3 visualization of the subtypes of the 'Number' type in your browser (default = 'google chrome').

DisplayTypeTree(Number)

Tree

You can also display a tree in the REPL

julia> TypeTree(Number)
Number
├──Real
│  ├──Integer
│  │  ├──Bool (0 children)
│  │  ├──Unsigned (5 children)
│  │  └──Signed (6 children)
│  ├──AbstractFloat
│  │  ├──Float16 (0 children)
│  │  ├──Float64 (0 children)
│  │  ├──Float32 (0 children)
│  │  └──BigFloat (0 children)
│  ├──AbstractIrrational
│  │  └──Irrational (0 children)
│  └──Rational
└──Complex

In a Notebook, the TypeTree() displays the D3 tree visualization

Limitations

Requires an internet connection

Used By Packages

No packages found.