julia type hierarchy visualization
using Pkg
Pkg.add("D3TypeTrees")
The following will open a D3 visualization of the subtypes of the 'Number' type in your browser (default = 'google chrome').
DisplayTypeTree(Number)
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