Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 282 Bytes

topo.md

File metadata and controls

19 lines (12 loc) · 282 Bytes
import networkx as nx
%matplotlib inline
import tega.driver
d = tega.driver.Driver()
edges = d.get('topo.edges')
g = nx.Graph([[edge['source'], edge['target']] for edge in edges])
nx.draw(g, node_size=700, with_labels=True)

png