|
HAL
v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
|
#include </home/runner/work/hal/hal/plugins/dot_viewer/include/dot_viewer/interaction/dataflow_interaction.h>


Public Member Functions | |
| DataflowInteraction (QGVScene *parent) | |
| void | registerNode (QGVNode *node) override |
| void | registerEdge (QGVEdge *scene) override |
Adds the dataflow analysis actions to the context menu of the nodes and edges of a displayed DOT graph.
Definition at line 39 of file dataflow_interaction.h.
| hal::DataflowInteraction::DataflowInteraction | ( | QGVScene * | parent | ) |
Construct the interaction for the given scene.
| [in] | parent | - The scene that holds the displayed graph. |
Definition at line 23 of file dataflow_interaction.cpp.
References hal::gNetlistRelay, hal::gSelectionRelay, hal::NetlistRelay::moduleNameChanged(), QGraphicsScene::selectionChanged(), and hal::SelectionRelay::selectionChanged().
|
override |
Attach the interaction to an edge of the graph, which makes the connection it represents selectable.
| [in] | scene | - The edge to attach to. |
Definition at line 32 of file dataflow_interaction.cpp.
|
override |
Attach the interaction to a node of the graph, which makes the module it represents selectable.
| [in] | node | - The node to attach to. |
Definition at line 37 of file dataflow_interaction.cpp.
References QRegularExpressionMatch::captured(), QString::fromStdString(), hal::Netlist::get_modules(), hal::gNetlist, QRegularExpressionMatch::hasMatch(), and QRegularExpression::match().