In Graph
or TreeGraph
, I can make the vertices images, but the tree always starts at the top.
TreeGraph[{1 -> 2, 1 -> 3},
VertexShape -> {1 -> Graphics[RegularPolygon[4]],
2 -> Graphics[RegularPolygon[5]],
3 -> Graphics[RegularPolygon[6]]}, VertexSize -> 0.6]
If I use TreePlot
instead, then I can make the tree start on the left:
TreePlot[{1 -> 2, 1 -> 3, 3 -> 4, 3 -> 5}, Left]
But TreeGraph
doesn't have the "Left"
option and TreePlot
doesn't have the VertexShape
option. How can I have images in a tree that goes from left to right?
Graph
has the GraphLayout
Option, but I couldn't find the one that does what I want.