jb887
October 21, 2020, 3:44pm
1
I am generating a figure using graphviz of a decision tree I have constructed in jupyter notebook. Is there any way I can also print a legend/key with this figure?
1 Like
Here are some links to follow:
I’m a new GraphViz user, so maybe I’m missing something obvious. I’m working on a graph that (currently) has about 100 nodes. Is there a way to add a key or legend on the bottom of the graph, to show what the different shapes and colors mean? I have a label, but I’d like more than that.
My current solution is a second graph that I import as a node image. I’m working on a timeline, so I have a list of years down the left side of the graph, and I put an extra node at the bottom and rank my legend…
graphviz, legend
1 Like