Do not subclass `nx.Graph`, since it provies API that the user should not interact with. Store the graph as a class property that the user can assess instead `DevComponentNetwork` should be a base class that `DevFileNetwork` subclasses.