Ask Your Question

Revision history [back]

The d3js version of the call graph is also cool

edge_partition = [
    [edge for edge in g.edges() if edge[-1]==el]  
    for el in set(g.edge_labels()) 
    ]
g.show(method='js', 
       edge_labels=True, 
       vertex_labels=True, 
       link_distance=90, 
       charge=-400, 
       link_strength=2, 
       force_spring_layout=True, 
       edge_partition=edge_partition)

d3js version of the partitions example