Skip to content

Commit

Permalink
Domain graph & status layout documentation (#205)
Browse files Browse the repository at this point in the history
* Refs #19743: Update documentation sections to include tabs, domain graph and status problems

Signed-off-by: JesusPoderoso <[email protected]>

* Refs #19743: Include new images

Signed-off-by: JesusPoderoso <[email protected]>

* Refs #19743: Update screenshots

Signed-off-by: JesusPoderoso <[email protected]>

* Refs #19743: Apply rev suggestions

Signed-off-by: JesusPoderoso <[email protected]>

---------

Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso committed Dec 12, 2023
1 parent 12b993e commit 75d9f20
Show file tree
Hide file tree
Showing 9 changed files with 77 additions and 8 deletions.
Binary file added docs/rst/figures/screenshots/domain_graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/rst/figures/screenshots/init-monitor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/rst/figures/screenshots/main_panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/rst/figures/screenshots/problem.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/rst/figures/screenshots/problem_detail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/rst/figures/screenshots/shapes_domain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/rst/figures/screenshots/shapes_topic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 31 additions & 2 deletions docs/rst/user_manual/chart_panel_index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,42 @@
Main Panel
##########

In the central panel or *chart panel*, is where the data of the entities will be displayed.
The main feature of the *Fast DDS Monitor* application is to graphically display the data that is being monitored.
In the central panel, there is a tab section that allows multiple views, including a collapsed menu that reports the
possible problems that have been detected on the DDS entities.

The main feature of the *Fast DDS Monitor* application is to graphically display the data that is being monitored in
the *Chart View*.
DDS entities have associated different types of data (so-called *DataKind*) that could be visualize by configuring
a chart.
For example, it can be displayed the mean, median and standard deviation latency between two machines (*Hosts*) running
*Fast DDS* applications for the period of two hours in intervals of ten minutes.

The *Fast DDS Monitor* can also show the detected entities in a graph.
The *Domain view* would filter all entities that belong to the same DDS Domain, and represent the inheritance of the
physical and DDS entities (the DataWriters or DataReaders that belong to a DomainParticipant, the
DomainParticipants that run on the same process, the processes that a user is running, and the users that are on a
host).
Those relations are represented in different boxes that contain the sub-category of entities.
Also, the connections between different endpoints that are publishing or subscribed to a Topic are represented with
arrows.
Those arrows would start from the DataWriter and point to the Topic, or start from the Topic and point to the
DataReader (in publication and subscription cases, respectively).

.. figure:: /rst/figures/screenshots/shapes_domain.png
:align: center

If filtering that graph by Topic, only the entities whose endpoints are publishing in, or subscribed to the selected
Topic would be represented in the view.

.. figure:: /rst/figures/screenshots/shapes_topic.png
:align: center

If there are problems reported by a DDS entity, they are condensed by entity in the bottom layout problem section.
Among the problem counter, the problem is described and, in some cases, followed by a link to the documentation.

.. figure:: /rst/figures/screenshots/problem_detail.png
:align: center

.. toctree::
:maxdepth: 2

Expand Down
52 changes: 46 additions & 6 deletions docs/rst/user_manual/layout.rst
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,11 @@ For the explanation of this information refer to the section :ref:`log_panel`.

Main Panel
==========
The central window it will display the data charts, so-called *Chartbox*, that the user has configured.
To create a new *Chartbox* go to *Edit->DisplayNewData* in the application menu.
This button will create a new *Chartbox* where new series could be added, removed or modified.
The central window allows multiple tabs for different views.
It is also displayed a collapsed menu with the possible problems that have been detected on the DDS entities.
It will display the data charts, so-called *Chartbox*, that the user has configured.
It will display a domain graph where the physical, logical and DDS entities from a domain are represented,
focusing on the connection between endpoints through the topics, and the entities physical inheritance.

.. figure:: /rst/figures/screenshots/main_panel.png
:align: center
Expand All @@ -232,21 +234,26 @@ For further information about how to create a chart refer to the section :ref:`c

Chartbox
--------
These windows in the central panel store some *series* or *data configurations* to show a specific data type for
These windows in the main panel store some *series* or *data configurations* to show a specific data type for
one or several entities in a specified time interval and with different accumulative operations on the data.

These Chartbox could be moved along the main window.
To create a new *Chartbox* go to *Chart View* in the Main Panel default tab, and click on *Create new chart* button.
This button will create a new *Chartbox* where new series could be added, removed or modified.

These Chartbox could be moved along the *Chart View* tab.
In order to move one of this charts, press in the *Chartbox* title and grab the object to its new location inside the
main panel.
The rest of the *Chartboxes* will automatically rearrange when one of them is moved to a different position.

.. figure:: /rst/figures/screenshots/chartbox.png
:align: center

For further information about how to create a chart refer to the section :ref:`chart_panel`.

.. _create_new_series_layout:

Create Series Dialog
------------------------
^^^^^^^^^^^^^^^^^^^^
This Dialog will appear every time a new Chartbox is created, or adding a new series by the button in the Chartbox
*Series->AddSeries*.

Expand All @@ -262,3 +269,36 @@ This Dialog will appear every time a new Chartbox is created, or adding a new se

For further details on how to configure a new series refer to :ref:`historic_series` for historic data or
:ref:`dynamic_series` for dynamic data.

.. _domain_graph:

Domain View
-----------
This view in the main panel shows the connections between DataWriters and DataReaders that belong to the same
DDS Domain.
They are represented encapsulated inside their physical entities (see :ref:`entities` relationship), and with a
connection to the topic they are published and subscribed, respectively.

.. figure:: /rst/figures/screenshots/domain_graph.png
:align: center

By clicking on any entity, its detailed information is displayed in the :ref:`info_panel`.
Right click allows changing the alias of the entity, filter the problems to display only the selected entity's problems
and, in the case of topics, filtering the domain graph by topic so that only the entities related to the selected topic
are displayed.

.. _problem_summary:

Problem summary
---------------

This section that can be expanded and collapsed displays all the collected problems per entity.
Those problems are related to DataReader samples lost, incompatible QoS between endpoints, or DataWriter deadline missed
counter, for instance.

The entities that have reported a problem would display a warning or an error icon close to the entity name, based on
the severity of the problem.
The entity representation in the domain graph may also display that icon.

.. figure:: /rst/figures/screenshots/problem.png
:align: center

0 comments on commit 75d9f20

Please sign in to comment.