List of all classes, functions and methods in python-igraph
class AbstractGraphDrawer(AbstractDrawer):
Known subclasses: igraph.drawing.graph.AbstractCairoGraphDrawer, igraph.drawing.graph.CytoscapeGraphDrawer, igraph.drawing.graph.GephiGraphStreamingDrawer, igraph.drawing.graph.MatplotlibGraphDrawer, igraph.drawing.graph.UbiGraphDrawer
Abstract class that serves as a base class for anything that draws an igraph.Graph.
| Method | draw |
Abstract method, must be implemented in derived classes. |
| Method | ensure_layout |
Helper method that ensures that layout is an instance of Layout. If it is not, the method will try to convert it to a Layout according to the following rules: |
igraph.drawing.graph.CytoscapeGraphDrawer, igraph.drawing.graph.DefaultGraphDrawer, igraph.drawing.graph.GephiGraphStreamingDrawer, igraph.drawing.graph.MatplotlibGraphDrawer, igraph.drawing.graph.UbiGraphDrawerAbstract method, must be implemented in derived classes.
Helper method that ensures that layout is an instance of Layout. If it is not, the method will try to convert it to a Layout according to the following rules:
layout method of the given graph if graph is not None.None, the layout method of graph will be invoked with no parameters, which will call the default layout algorithm.Layout. This handles lists of lists, lists of tuples and such.If layout is already a Layout instance, it will still be copied and a copy will be returned. This is because graph drawers are allowed to transform the layout for their purposes, and we don't want the transformation to propagate back to the caller.