Consider the following code:
DepthFirstScan[
{"A" <-> "B", "A" <-> "C", "B" <-> "D", "B" <-> "E", "C" <-> "F", "C" <-> "G"},
"A",
{"PrevisitVertex" -> (Print[#] &)}
];
produces
A
B
D
E
C
F
G
How could one visualize this tree indented by its depth as
A
B
D
E
C
F
G
I am experimenting to visualize our Messaging infrastructure having thousands of vertices. Each vertex is a queue name so printing the graph would need a way to enlarge it to at least paper size A0 or allowing to print it on multiple A3 size papers. That is why I am experimenting to visualize the graph vertically indented by its depth. I plan to use specific icons for different components and adding the edges aside colored by its type.
Any help is much appreciated. Many thanks. Markus