Functions
smach_viewer.utils Namespace Reference

Functions

def attr_string (attrs)
 
def get_label (path)
 
def get_parent_path (path)
 
def graph_attr_string (attrs)
 
def hex2t (color_str)
 

Function Documentation

◆ attr_string()

def smach_viewer.utils.attr_string (   attrs)
Generate an xdot node attribute string.

Definition at line 8 of file utils.py.

◆ get_label()

def smach_viewer.utils.get_label (   path)
Get the label of an xdot node.

Definition at line 24 of file utils.py.

◆ get_parent_path()

def smach_viewer.utils.get_parent_path (   path)
Get the parent path of an xdot node.

Definition at line 14 of file utils.py.

◆ graph_attr_string()

def smach_viewer.utils.graph_attr_string (   attrs)
Generate an xdot graph attribute string.

Definition at line 2 of file utils.py.

◆ hex2t()

def smach_viewer.utils.hex2t (   color_str)
Convert a hexadecimal color strng into a color tuple.

Definition at line 30 of file utils.py.



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