|
def | __init__ (self, rospack, rosstack) |
|
def | add_package_ancestors_recursively (self, package_name, expanded_up=None, depth=None, implicit=False, parent=None) |
|
def | add_package_descendants_recursively (self, package_name, expanded=None, depth=None, implicit=False, parent=None) |
|
def | generate (self, dotcode_factory) |
|
def | generate_dotcode (self, dotcode_factory, selected_names=None, excludes=None, depth=3, with_stacks=True, descendants=True, ancestors=True, hide_transitives=True, show_system=False, mark_selected=True, colortheme=None, rank='same', ranksep=0.2, rankdir='TB', simplify=True, force_refresh=False, hide_wet=False, hide_dry=False) |
|
|
def | _add_edge (self, name1, name2, attributes=None) |
|
def | _add_package (self, package_name, parent=None) |
|
def | _add_stack (self, stackname) |
|
def | _generate_package (self, dotcode_factory, graph, package_name, attributes=None) |
|
def | _hide_package (self, package_name) |
|
def | _is_package_wet (self, package_name) |
|
Definition at line 53 of file dotcode_pack.py.
◆ __init__()
def rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.__init__ |
( |
|
self, |
|
|
|
rospack, |
|
|
|
rosstack |
|
) |
| |
:param rospack: use rospkg.RosPack()
:param rosstack: use rospkg.RosStack()
Definition at line 55 of file dotcode_pack.py.
◆ _add_edge()
def rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator._add_edge |
( |
|
self, |
|
|
|
name1, |
|
|
|
name2, |
|
|
|
attributes = None |
|
) |
| |
|
private |
◆ _add_package()
def rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator._add_package |
( |
|
self, |
|
|
|
package_name, |
|
|
|
parent = None |
|
) |
| |
|
private |
adds object based on package_name to self.packages
:param parent: packagename which referenced package_name (for debugging only)
Definition at line 265 of file dotcode_pack.py.
◆ _add_stack()
def rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator._add_stack |
( |
|
self, |
|
|
|
stackname |
|
) |
| |
|
private |
◆ _generate_package()
def rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator._generate_package |
( |
|
self, |
|
|
|
dotcode_factory, |
|
|
|
graph, |
|
|
|
package_name, |
|
|
|
attributes = None |
|
) |
| |
|
private |
◆ _hide_package()
def rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator._hide_package |
( |
|
self, |
|
|
|
package_name |
|
) |
| |
|
private |
◆ _is_package_wet()
def rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator._is_package_wet |
( |
|
self, |
|
|
|
package_name |
|
) |
| |
|
private |
◆ add_package_ancestors_recursively()
def rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.add_package_ancestors_recursively |
( |
|
self, |
|
|
|
package_name, |
|
|
|
expanded_up = None , |
|
|
|
depth = None , |
|
|
|
implicit = False , |
|
|
|
parent = None |
|
) |
| |
:param package_name: the name of package for which to add ancestors
:param expanded_up: names that have already been expanded (to avoid cycles)
:param depth: how many layers to follow
:param implicit: arg to rospack
:param parent: package that referenced package_name for error message only
Definition at line 320 of file dotcode_pack.py.
◆ add_package_descendants_recursively()
def rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.add_package_descendants_recursively |
( |
|
self, |
|
|
|
package_name, |
|
|
|
expanded = None , |
|
|
|
depth = None , |
|
|
|
implicit = False , |
|
|
|
parent = None |
|
) |
| |
◆ generate()
def rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.generate |
( |
|
self, |
|
|
|
dotcode_factory |
|
) |
| |
◆ generate_dotcode()
def rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.generate_dotcode |
( |
|
self, |
|
|
|
dotcode_factory, |
|
|
|
selected_names = None , |
|
|
|
excludes = None , |
|
|
|
depth = 3 , |
|
|
|
with_stacks = True , |
|
|
|
descendants = True , |
|
|
|
ancestors = True , |
|
|
|
hide_transitives = True , |
|
|
|
show_system = False , |
|
|
|
mark_selected = True , |
|
|
|
colortheme = None , |
|
|
|
rank = 'same' , |
|
|
|
ranksep = 0.2 , |
|
|
|
rankdir = 'TB' , |
|
|
|
simplify = True , |
|
|
|
force_refresh = False , |
|
|
|
hide_wet = False , |
|
|
|
hide_dry = False |
|
) |
| |
:param hide_transitives:
if true, then dependency of children to grandchildren will be hidden if parent has
same dependency
:param show_system: if true, then system dependencies will be shown
Definition at line 71 of file dotcode_pack.py.
◆ ancestors
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.ancestors |
◆ colortheme
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.colortheme |
◆ depth
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.depth |
◆ descendants
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.descendants |
◆ dotcode
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.dotcode |
◆ dotcode_factory
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.dotcode_factory |
◆ edges
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.edges |
◆ excludes
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.excludes |
◆ graph
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.graph |
◆ hide_dry
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.hide_dry |
◆ hide_transitives
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.hide_transitives |
◆ hide_wet
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.hide_wet |
◆ last_drawargs
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.last_drawargs |
◆ last_selection
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.last_selection |
◆ mark_selected
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.mark_selected |
◆ package_types
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.package_types |
◆ packages
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.packages |
◆ rank
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.rank |
◆ rankdir
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.rankdir |
◆ ranksep
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.ranksep |
◆ rospack
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.rospack |
◆ rosstack
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.rosstack |
◆ selected_names
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.selected_names |
◆ show_system
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.show_system |
◆ simplify
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.simplify |
◆ stacks
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.stacks |
◆ traversed_ancestors
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.traversed_ancestors |
◆ traversed_descendants
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.traversed_descendants |
◆ with_stacks
rqt_dep.dotcode_pack.RosPackageGraphDotcodeGenerator.with_stacks |
The documentation for this class was generated from the following file: