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.

Unknown Field: deprecated
UbiGraph has not received updates since 2008 and is now not available for download (at least not from the official sources). The UbiGraph graph drawer will be removed from igraph in 0.10.0.
Method __init__ Constructs an UbiGraph drawer using the display at the given URL.
Method draw Draws the given graph on an UbiGraph display.
Instance Variable edge​_defaults Undocumented
Instance Variable vertex​_defaults Undocumented

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.
def draw(self, graph, *args, **kwds):
Draws the given graph on an UbiGraph display.
Parameters
graphUndocumented
*argsUndocumented
**kwdsUndocumented
clearwhether to clear the current UbiGraph display before plotting. Default: True.
edge_defaults =

Undocumented

vertex_defaults =

Undocumented