Public Member Functions | Public Attributes | Static Public Attributes | List of all members
smach_viewer.xdot.xdot.XDotParser Class Reference
Inheritance diagram for smach_viewer.xdot.xdot.XDotParser:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, xdotcode)
 
def handle_edge (self, src_id, dst_id, attrs)
 
def handle_graph (self, attrs)
 
def handle_node (self, id, attrs)
 
def parse (self)
 
def parse_edge_pos (self, pos)
 
def parse_node_pos (self, pos)
 
def transform (self, x, y)
 
- Public Member Functions inherited from smach_viewer.xdot.xdot.DotParser
def parse_attr (self)
 
def parse_attrs (self)
 
def parse_graph (self)
 
def parse_id (self)
 
def parse_node_id (self)
 
def parse_stmt (self)
 
def parse_subgraph (self)
 
- Public Member Functions inherited from smach_viewer.xdot.xdot.Parser
def consume (self)
 
def match (self, type)
 
def skip (self, type)
 

Public Attributes

 edges
 
 height
 
 node_by_name
 
 nodes
 
 shapes
 
 subgraph_shapes
 
 top_graph
 
 width
 
 xoffset
 
 xscale
 
 yoffset
 
 yscale
 
- Public Attributes inherited from smach_viewer.xdot.xdot.DotParser
 edge_attrs
 
 graph_attrs
 
 node_attrs
 
- Public Attributes inherited from smach_viewer.xdot.xdot.Parser
 lexer
 
 lookahead
 

Static Public Attributes

string XDOTVERSION = '1.7'
 

Detailed Description

Definition at line 1212 of file xdot.py.

Constructor & Destructor Documentation

◆ __init__()

def smach_viewer.xdot.xdot.XDotParser.__init__ (   self,
  xdotcode 
)

Reimplemented from smach_viewer.xdot.xdot.DotParser.

Reimplemented in smach_viewer.xdot.wxxdot.MyXDotParser.

Definition at line 1216 of file xdot.py.

Member Function Documentation

◆ handle_edge()

def smach_viewer.xdot.xdot.XDotParser.handle_edge (   self,
  src_id,
  dst_id,
  attrs 
)

Reimplemented from smach_viewer.xdot.xdot.DotParser.

Definition at line 1285 of file xdot.py.

◆ handle_graph()

def smach_viewer.xdot.xdot.XDotParser.handle_graph (   self,
  attrs 
)

Reimplemented from smach_viewer.xdot.xdot.DotParser.

Definition at line 1229 of file xdot.py.

◆ handle_node()

def smach_viewer.xdot.xdot.XDotParser.handle_node (   self,
  id,
  attrs 
)

Reimplemented from smach_viewer.xdot.xdot.DotParser.

Definition at line 1265 of file xdot.py.

◆ parse()

def smach_viewer.xdot.xdot.XDotParser.parse (   self)

Reimplemented from smach_viewer.xdot.xdot.DotParser.

Reimplemented in smach_viewer.xdot.wxxdot.MyXDotParser.

Definition at line 1303 of file xdot.py.

◆ parse_edge_pos()

def smach_viewer.xdot.xdot.XDotParser.parse_edge_pos (   self,
  pos 
)

Definition at line 1311 of file xdot.py.

◆ parse_node_pos()

def smach_viewer.xdot.xdot.XDotParser.parse_node_pos (   self,
  pos 
)

Definition at line 1307 of file xdot.py.

◆ transform()

def smach_viewer.xdot.xdot.XDotParser.transform (   self,
  x,
  y 
)

Definition at line 1324 of file xdot.py.

Member Data Documentation

◆ edges

smach_viewer.xdot.xdot.XDotParser.edges

Definition at line 1221 of file xdot.py.

◆ height

smach_viewer.xdot.xdot.XDotParser.height

Definition at line 1226 of file xdot.py.

◆ node_by_name

smach_viewer.xdot.xdot.XDotParser.node_by_name

Definition at line 1223 of file xdot.py.

◆ nodes

smach_viewer.xdot.xdot.XDotParser.nodes

Definition at line 1220 of file xdot.py.

◆ shapes

smach_viewer.xdot.xdot.XDotParser.shapes

Definition at line 1222 of file xdot.py.

◆ subgraph_shapes

smach_viewer.xdot.xdot.XDotParser.subgraph_shapes

Definition at line 1227 of file xdot.py.

◆ top_graph

smach_viewer.xdot.xdot.XDotParser.top_graph

Definition at line 1224 of file xdot.py.

◆ width

smach_viewer.xdot.xdot.XDotParser.width

Definition at line 1225 of file xdot.py.

◆ XDOTVERSION

string smach_viewer.xdot.xdot.XDotParser.XDOTVERSION = '1.7'
static

Definition at line 1214 of file xdot.py.

◆ xoffset

smach_viewer.xdot.xdot.XDotParser.xoffset

Definition at line 1249 of file xdot.py.

◆ xscale

smach_viewer.xdot.xdot.XDotParser.xscale

Definition at line 1251 of file xdot.py.

◆ yoffset

smach_viewer.xdot.xdot.XDotParser.yoffset

Definition at line 1250 of file xdot.py.

◆ yscale

smach_viewer.xdot.xdot.XDotParser.yscale

Definition at line 1252 of file xdot.py.


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


smach_viewer
Author(s): Jonathan Bohren
autogenerated on Thu Feb 20 2025 03:09:09