python-igraph API reference

List of all classes, functions and methods in python-igraph

class documentation

Graph drawer that draws a given graph on an UbiGraph display using the XML-RPC API of UbiGraph.

The following vertex attributes are supported: color, label, shape, size. See the Ubigraph documentation for supported shape names. Sizes are relative to the default Ubigraph size.

The following edge attributes are supported: color, label, width. Edge widths are relative to the default Ubigraph width.

All color specifications supported by igraph (e.g., color names, palette indices, RGB triplets, RGBA quadruplets, HTML format) are understood by the Ubigraph graph drawer.

The drawer also has two attributes, vertex_defaults and edge_defaults. These are dictionaries that can be used to set default values for the vertex/edge attributes in Ubigraph.

Method __init__ Constructs an UbiGraph drawer using the display at the given URL.
Instance Variable vertex_defaults Undocumented
Instance Variable edge_defaults Undocumented
Method draw Draws the given graph on an UbiGraph display.

Inherited from AbstractXMLRPCDrawer:

Instance Variable server Undocumented
Instance Variable service Undocumented
Static Method _resolve_hostname No summary

Inherited from AbstractGraphDrawer:

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:
def __init__(self, url='http://localhost:20738/RPC2'):

Constructs an UbiGraph drawer using the display at the given URL.

vertex_defaults =

Undocumented

edge_defaults =

Undocumented

def draw(self, graph, *args, **kwds):

Draws the given graph on an UbiGraph display.

ParametersgraphUndocumented
argsUndocumented
kwdsUndocumented
clearwhether to clear the current UbiGraph display before plotting. Default: True.
API Documentation for python-igraph, generated by pydoctor 21.2.2 at 2021-03-26 11:21:53.