IntervalGraph.
interval
interval graph.
Note that end is non-inclusive.
Examples
>>> G = dnx.IntervalGraph() >>> G.add_edges_from([(1, 2, 0, 10), (3, 7, 9, 16)]) >>> G.interval() (0, 16)