make a disconnectivity graph
Parameters :  graph : a networkx graph
nlevels : int
Emax : float
minima : list of Minima
subgraph_size : int
order_by_energy : bool
order_by_basin_size : bool
center_gmin : bool
include_gmin : bool
node_offset : float
energy_attribute : string, optional
order_by_value : callable, optional, v = order_by_value(m)


See also
Examples
These examples assume a Database with minima already exists
>>> import matplotlib.pyplot as plt
>>> graph = database2graph(database)
>>> dg = DisconnectivityGraph(graph)
>>> dg.calculate()
>>> dg.plot()
>>> plt.show()
Methods
calculate()  do the calculations necessary to draw the diconnectivity graph 
color_by_group(groups[, colors])  color the graph based on specified grouping of minima 
color_by_value(minimum_to_value[, colormap, ...])  color the graph by values associated with minima (e.g. order parameter) 
draw_minima(minima[, axes])  draw a specified list of minima as points 
get_minima_layout()  return the x position of the minima 
get_tree_layout()  Returns the x position of the trees 
label_minima(minima_labels[, axes, rotation])  label the specified minima 
plot([show_minima, show_trees, linewidth, ...])  draw the disconnectivity graph using matplotlib 
savefig(*args, **kwargs)  simple wrapper for matplotlib.pyplot.savefig() 
set_energy_levels(elevels)  manually set the energy levels 
show()  simple wrapper for matplotlib.pyplot.show() 