diff --git a/mininet/topo.py b/mininet/topo.py index 07f74ef..f7de5fc 100644 --- a/mininet/topo.py +++ b/mininet/topo.py @@ -11,7 +11,11 @@ A Topo object can be a topology database for NOX, can represent a physical setup for testing, and can even be emulated with the Mininet package. ''' -from networkx.classes.graph import Graph +# BL: we may have to fix compatibility here. +# networkx is also a fairly heavyweight dependency +# from networkx.classes.graph import Graph + +from networkx import Graph from mininet.node import SWITCH_PORT_BASE class NodeID(object):