Public Member Functions | List of all members
qt_dotgraph.pygraphvizfactory.PygraphvizFactory Class Reference

Public Member Functions

def __init__ (self)
 
def add_edge_to_graph (self, graph, nodename1, nodename2, label=None, url=None, simplify=True, style=None)
 
def add_node_to_graph (self, graph, nodename, nodelabel=None, shape='box', color=None, url=None, tooltip=None)
 
def add_subgraph_to_graph (self, graph, subgraphlabel, rank='same', simplify=True, rankdir='TB', ranksep=0.2, compound=True, color=None, shape='box', style='bold')
 
def create_dot (self, graph)
 
def get_graph (self, graph_type='digraph', rank='same', simplify=True, rankdir='TB', ranksep=0.2, compound=True)
 

Detailed Description

Definition at line 37 of file pygraphvizfactory.py.

Constructor & Destructor Documentation

◆ __init__()

def qt_dotgraph.pygraphvizfactory.PygraphvizFactory.__init__ (   self)

Definition at line 39 of file pygraphvizfactory.py.

Member Function Documentation

◆ add_edge_to_graph()

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

Definition at line 103 of file pygraphvizfactory.py.

◆ add_node_to_graph()

def qt_dotgraph.pygraphvizfactory.PygraphvizFactory.add_node_to_graph (   self,
  graph,
  nodename,
  nodelabel = None,
  shape = 'box',
  color = None,
  url = None,
  tooltip = None 
)
Create 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 57 of file pygraphvizfactory.py.

◆ add_subgraph_to_graph()

def qt_dotgraph.pygraphvizfactory.PygraphvizFactory.add_subgraph_to_graph (   self,
  graph,
  subgraphlabel,
  rank = 'same',
  simplify = True,
  rankdir = 'TB',
  ranksep = 0.2,
  compound = True,
  color = None,
  shape = 'box',
  style = 'bold' 
)
Create 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 86 of file pygraphvizfactory.py.

◆ create_dot()

def qt_dotgraph.pygraphvizfactory.PygraphvizFactory.create_dot (   self,
  graph 
)

Definition at line 111 of file pygraphvizfactory.py.

◆ get_graph()

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

Definition at line 44 of file pygraphvizfactory.py.


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


qt_dotgraph
Author(s): Thibault Kruse, Dirk Thomas
autogenerated on Fri Jun 24 2022 02:42:36