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

Public Member Functions

def __init__ (self, width=1, height=1, shapes=(), nodes=(), edges=(), subgraph_shapes={})
 
def draw (self, cr, highlight_items=None)
 
def get_element (self, x, y)
 
def get_jump (self, x, y)
 
def get_size (self)
 
def get_url (self, x, y)
 
- Public Member Functions inherited from smach_viewer.xdot.xdot.Shape
def __init__ (self)
 
def search_text (self, regexp)
 
def select_pen (self, highlight)
 

Public Attributes

 edges
 
 height
 
 nodes
 
 shapes
 
 subgraph_shapes
 
 width
 
- Public Attributes inherited from smach_viewer.xdot.xdot.Shape
 highlight_pen
 

Detailed Description

Definition at line 492 of file xdot.py.

Constructor & Destructor Documentation

◆ __init__()

def smach_viewer.xdot.xdot.Graph.__init__ (   self,
  width = 1,
  height = 1,
  shapes = (),
  nodes = (),
  edges = (),
  subgraph_shapes = {} 
)

Definition at line 494 of file xdot.py.

Member Function Documentation

◆ draw()

def smach_viewer.xdot.xdot.Graph.draw (   self,
  cr,
  highlight = None 
)
Draw this shape with the given cairo context

Reimplemented from smach_viewer.xdot.xdot.Shape.

Definition at line 507 of file xdot.py.

◆ get_element()

def smach_viewer.xdot.xdot.Graph.get_element (   self,
  x,
  y 
)

Definition at line 522 of file xdot.py.

◆ get_jump()

def smach_viewer.xdot.xdot.Graph.get_jump (   self,
  x,
  y 
)

Definition at line 537 of file xdot.py.

◆ get_size()

def smach_viewer.xdot.xdot.Graph.get_size (   self)

Definition at line 504 of file xdot.py.

◆ get_url()

def smach_viewer.xdot.xdot.Graph.get_url (   self,
  x,
  y 
)

Definition at line 530 of file xdot.py.

Member Data Documentation

◆ edges

smach_viewer.xdot.xdot.Graph.edges

Definition at line 501 of file xdot.py.

◆ height

smach_viewer.xdot.xdot.Graph.height

Definition at line 498 of file xdot.py.

◆ nodes

smach_viewer.xdot.xdot.Graph.nodes

Definition at line 500 of file xdot.py.

◆ shapes

smach_viewer.xdot.xdot.Graph.shapes

Definition at line 499 of file xdot.py.

◆ subgraph_shapes

smach_viewer.xdot.xdot.Graph.subgraph_shapes

Definition at line 502 of file xdot.py.

◆ width

smach_viewer.xdot.xdot.Graph.width

Definition at line 497 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