JuliaTeX / TreeView.jl

Draw Julia syntax trees as a graph
Other
82 stars 15 forks source link

Way to pass nested dict with string leaf nodes #24

Closed djsegal closed 4 years ago

djsegal commented 4 years ago

Let's say you have a DAG representing a package and its dependencies, and their dependencies after them (and so forth).

What's the easiest way to hook into TreeView to plot that dependency graph? And is there a way to make the plot interactive with clicking on nodes?

Think it would be cool if you could keep clicking packages and the dag keeps switching root nodes.

// note that dependencies only appear once in a DAG (every other appearance is removed)


[update:] basically trying to replicate https://github.com/JuliaLang/julia/issues/25951#issuecomment-445156604

djsegal commented 4 years ago

Relatively simple example is:

- Dagger
  - Compat
  - MemPool
    - DataStructures
      - OrderedCollections
  - StatsBase
    - DataAPI
    - Missings
    - SortingAlgorithms

// note that DataStructures is also in StatsBase

dpsanders commented 4 years ago

I think you want to use TikzGraphs.jl for this directly, instead of TreeView