Skip to content

02. Development Info

takeshi-iwanari edited this page Jul 3, 2022 · 3 revisions

Design

design

  • Dear RosNodeViewer adopts MVVM-like structure
  • The following modules read source and convert to NetworkX object (Model)
    • caret2networkx (CARET architecture file)
    • dot2networkx (dot file)
    • ros2networkx (running ROS graph analysis)
  • networkx2dearpygui module displays the graph and provides UI using Dear PyGui (View)
  • graph_manager module contains the graph object and updates UI components (ViewModel)

Command note

### Debug ###
python3 main.py architecture.yaml
python3 -m dear_ros_node_viewer architecture.yaml

### Install ###
pip3 install ./
# python3 setup.py sdist
# pip3 install dist/dear_ros_node_viewer-1.0.tar.gz

### Test ###
python3 -m pytest --doctest-modules -v --cov=./dear_ros_node_viewer
python3 -m pylint ./dear_ros_node_viewer
Clone this wiki locally