|
graph_analysis
|
displaying the raw hypergraph in all its glory More...
#include <BaseGraphView.hpp>


displaying the raw hypergraph in all its glory
maintains and displays a simple view of its BaseGraph
In order to select layouts for the graph you can use the following scheme
BaseGraphView* mpBaseGraphView = new ...
bool ok;
QString desiredLayout = QInputDialog::getItem(this, tr("Select Layout"),
tr("select a layout:"), mpBaseGraphView->getSupportedLayouts(),
0, false, &ok);
if(ok)
{
mpBaseGraphView->applyLayout(desiredLayout.toStdString());
}
mpBaseGraphView->updateVisualization();treats the BaseGraph as read-only.
| graph_analysis::gui::BaseGraphView::BaseGraphView | ( | graph_analysis::BaseGraph::Ptr | graph, |
| QWidget * | parent = NULL |
||
| ) |
constructor
| graph | underlying base graph |
| parent | Parent widget (if there is one) |
|
virtual |
| void graph_analysis::gui::BaseGraphView::applyLayout | ( | const std::string & | layoutName = "" | ) |
Set a layout name
|
virtual |
Reimplemented from graph_analysis::gui::GraphWidget.
|
virtual |
|
virtual |
deletes all internal information and rebuilds the visualization according to the current BaseGraph. Respawns all graphical elements by the underlying base graph and trigger the layouting
Reimplemented from graph_analysis::gui::GraphWidget.
1.8.17