On 9/19/17, leam hall <leamh...@gmail.com> wrote: > I'm working on designing the classes, sub-classes, and relationships in my > code. What is a good visual way to represent it so it can be stored in git > and shared on the list without large images or attachments? > > Thanks! > > Leam
https://stackoverflow.com/questions/29586520/can-one-get-hierarchical-graphs-from-networkx-with-python-3#29597209 there are probably more ideas useful for you. Maybe this one could be inspiring too: import networkx as nx g=nx.DiGraph() g.add_edges_from([('class 1','class 2'), ('class 1','class 3'), ('class 1','class 4'), ('class 2','class 5'), ('class 2','class 6'), ('class 2','class 7'), ('class 3','class 8'), ('class 3','class 9'), ('class 4','class 10'), ('class 5','class 11'), ('class 5','class 12'), ('class 6','class 13')]) p=nx.drawing.nx_pydot.to_pydot(g) p.write_png('example.png') And you could make function which from list of classes create list of edges! :) In git you don't need to store images just list of classes and script to make images (documentation). -- https://mail.python.org/mailman/listinfo/python-list