P4 branches graph

p4 files //... | sed 's/\(.*\)#.*/dirname \1/' > p4realbranches.txt

The above is a concept for finding all branches or folders in P4.

Want to make a table of change # and what branches were changed. Then making a tree like structure to visualize code changes.