Public Member Functions
qt_dotgraph.pydotfactory.PydotFactory Class Reference

List of all members.

Public Member Functions

def __init__
def add_edge_to_graph
def add_node_to_graph
def add_subgraph_to_graph
def create_dot
def escape_label
def escape_name
def get_graph

Detailed Description

Definition at line 39 of file pydotfactory.py.


Constructor & Destructor Documentation

Definition at line 41 of file pydotfactory.py.


Member Function Documentation

def qt_dotgraph.pydotfactory.PydotFactory.add_edge_to_graph (   self,
  graph,
  nodename1,
  nodename2,
  label = None,
  url = None,
  simplify = True,
  style = None 
)

Definition at line 133 of file pydotfactory.py.

def qt_dotgraph.pydotfactory.PydotFactory.add_node_to_graph (   self,
  graph,
  nodename,
  nodelabel = None,
  shape = 'box',
  color = None,
  url = None 
)
creates a node item for this factory, adds it to the graph.
Node name can vary from label but must always be same for the same node label

Definition at line 76 of file pydotfactory.py.

def qt_dotgraph.pydotfactory.PydotFactory.add_subgraph_to_graph (   self,
  graph,
  subgraphlabel,
  rank = 'same',
  simplify = True,
  rankdir = 'TB',
  ranksep = 0.2,
  compound = True,
  color = None,
  shape = 'box',
  style = 'bold' 
)
creates a cluster subgraph  item for this factory, adds it to the graph.
cluster name can vary from label but must always be same for the same node label.
Most layouters require cluster names to start with cluster.

Definition at line 100 of file pydotfactory.py.

Definition at line 146 of file pydotfactory.py.

Definition at line 44 of file pydotfactory.py.

Definition at line 51 of file pydotfactory.py.

def qt_dotgraph.pydotfactory.PydotFactory.get_graph (   self,
  graph_type = 'digraph',
  rank = 'same',
  simplify = True,
  rankdir = 'TB',
  ranksep = 0.2,
  compound = True 
)

Definition at line 58 of file pydotfactory.py.


The documentation for this class was generated from the following file:


qt_dotgraph
Author(s): Thibault Kruse
autogenerated on Fri Jan 3 2014 11:44:08