Classes | Functions | Variables
rqt_decision_graph::pydot Namespace Reference

Classes

class  Cluster
class  Common
class  Dot
class  Edge
class  Error
class  frozendict
class  Graph
class  InvocationException
class  Node
class  Subgraph

Functions

def find_graphviz
def get_fobj
def is_string_like

Variables

string __author__ = 'Ero Carrera'
string __license__ = 'MIT'
string __version__ = '1.0.29'
 basestring = str
tuple CLUSTER_ATTRIBUTES
list dot_keywords = ['graph', 'subgraph', 'digraph', 'node', 'edge', 'strict']
tuple EDGE_ATTRIBUTES
tuple GRAPH_ATTRIBUTES
tuple id_re_alpha_nums = re.compile('^[_a-zA-Z][a-zA-Z0-9_,]*$', re.UNICODE)
tuple id_re_alpha_nums_with_ports
 long = int
tuple NODE_ATTRIBUTES
string NULL_SEP = ''
list path = path[1:-1]
tuple PY3 = notsys.version_info<(3, 0, 0)
 success = True
 unicode = str
 was_quoted = True

Function Documentation

Locate Graphviz's executables in the system.

Tries three methods:

First: Windows Registry (Windows only)
This requires Mark Hammond's pywin32 is installed.

Secondly: Search the path
It will look for 'dot', 'twopi' and 'neato' in all the directories
specified in the PATH environment variable.

Thirdly: Default install location (Windows only)
It will look for 'dot', 'twopi' and 'neato' in the default install
location under the "Program Files" directory.

It will return a dictionary containing the program names as keys
and their paths as values.

If this fails, it returns None.

Definition at line 470 of file pydot.py.

def rqt_decision_graph.pydot.get_fobj (   fname,
  mode = 'w+' 
)
Obtain a proper file object.

Parameters
----------
fname : string, file object, file descriptor
    If a string or file descriptor, then we create a file object. If *fname*
    is a file object, then we do nothing and ignore the specified *mode*
    parameter.
mode : str
    The mode of the file to be opened.

Returns
-------
fobj : file object
    The file object.
close : bool
    If *fname* was a string, then *close* will be *True* to signify that
    the file object should be closed after writing to it. Otherwise, *close*
    will be *False* signifying that the user, in essence, created the file
    object already and that subsequent operations should not close it.

Definition at line 117 of file pydot.py.

Check if obj is string.

Definition at line 109 of file pydot.py.


Variable Documentation

string rqt_decision_graph::pydot::__author__ = 'Ero Carrera'

Definition at line 22 of file pydot.py.

Definition at line 24 of file pydot.py.

Definition at line 23 of file pydot.py.

Definition at line 45 of file pydot.py.

Initial value:
00001 set([
00002     'K', 'URL', 'bgcolor', 'color', 'colorscheme',
00003     'fillcolor', 'fontcolor', 'fontname', 'fontsize', 'label', 'labeljust',
00004     'labelloc', 'lheight', 'lp', 'lwidth', 'nojustify', 'pencolor',
00005     'penwidth', 'peripheries', 'sortv', 'style', 'target', 'tooltip'
00006    ])

Definition at line 101 of file pydot.py.

list rqt_decision_graph::pydot::dot_keywords = ['graph', 'subgraph', 'digraph', 'node', 'edge', 'strict']

Definition at line 210 of file pydot.py.

Initial value:
00001 set([
00002     'URL', 'arrowhead', 'arrowsize', 'arrowtail',
00003     'color', 'colorscheme', 'comment', 'constraint', 'decorate', 'dir',
00004     'edgeURL', 'edgehref', 'edgetarget', 'edgetooltip', 'fontcolor',
00005     'fontname', 'fontsize', 'headURL', 'headclip', 'headhref', 'headlabel',
00006     'headport', 'headtarget', 'headtooltip', 'href', 'id', 'label',
00007     'labelURL', 'labelangle', 'labeldistance', 'labelfloat', 'labelfontcolor',
00008     'labelfontname', 'labelfontsize', 'labelhref', 'labeltarget',
00009     'labeltooltip', 'layer', 'len', 'lhead', 'lp', 'ltail', 'minlen',
00010     'nojustify', 'penwidth', 'pos', 'samehead', 'sametail', 'showboxes',
00011     'style', 'tailURL', 'tailclip', 'tailhref', 'taillabel', 'tailport',
00012     'tailtarget', 'tailtooltip', 'target', 'tooltip', 'weight',
00013     'rank'
00014    ])

Definition at line 72 of file pydot.py.

Initial value:
00001 set([
00002     'Damping', 'K', 'URL', 'aspect', 'bb', 'bgcolor',
00003     'center', 'charset', 'clusterrank', 'colorscheme', 'comment', 'compound',
00004     'concentrate', 'defaultdist', 'dim', 'dimen', 'diredgeconstraints',
00005     'dpi', 'epsilon', 'esep', 'fontcolor', 'fontname', 'fontnames',
00006     'fontpath', 'fontsize', 'id', 'label', 'labeljust', 'labelloc',
00007     'landscape', 'layers', 'layersep', 'layout', 'levels', 'levelsgap',
00008     'lheight', 'lp', 'lwidth', 'margin', 'maxiter', 'mclimit', 'mindist',
00009     'mode', 'model', 'mosek', 'nodesep', 'nojustify', 'normalize', 'nslimit',
00010     'nslimit1', 'ordering', 'orientation', 'outputorder', 'overlap',
00011     'overlap_scaling', 'pack', 'packmode', 'pad', 'page', 'pagedir',
00012     'quadtree', 'quantum', 'rankdir', 'ranksep', 'ratio', 'remincross',
00013     'repulsiveforce', 'resolution', 'root', 'rotate', 'searchsize', 'sep',
00014     'showboxes', 'size', 'smoothing', 'sortv', 'splines', 'start',
00015     'stylesheet', 'target', 'truecolor', 'viewport', 'voro_margin',
00016     # for subgraphs
00017     'rank'
00018    ])

Definition at line 52 of file pydot.py.

tuple rqt_decision_graph::pydot::id_re_alpha_nums = re.compile('^[_a-zA-Z][a-zA-Z0-9_,]*$', re.UNICODE)

Definition at line 212 of file pydot.py.

Definition at line 213 of file pydot.py.

Definition at line 46 of file pydot.py.

Initial value:
00001 set([
00002     'URL', 'color', 'colorscheme', 'comment',
00003     'distortion', 'fillcolor', 'fixedsize', 'fontcolor', 'fontname',
00004     'fontsize', 'group', 'height', 'id', 'image', 'imagescale', 'label',
00005     'labelloc', 'layer', 'margin', 'nojustify', 'orientation', 'penwidth',
00006     'peripheries', 'pin', 'pos', 'rects', 'regular', 'root', 'samplepoints',
00007     'shape', 'shapefile', 'showboxes', 'sides', 'skew', 'sortv', 'style',
00008     'target', 'tooltip', 'vertices', 'width', 'z',
00009     # The following are attributes dot2tex
00010     'texlbl', 'texmode'
00011    ])

Definition at line 88 of file pydot.py.

Definition at line 44 of file pydot.py.

Definition at line 438 of file pydot.py.

tuple rqt_decision_graph::pydot::PY3 = notsys.version_info<(3, 0, 0)

Definition at line 41 of file pydot.py.

Definition at line 452 of file pydot.py.

Definition at line 47 of file pydot.py.

Definition at line 439 of file pydot.py.



rqt_decision_graph
Author(s):
autogenerated on Wed Aug 26 2015 11:16:47