Forwards parse mutations directly into an existing Graph instance.
More...
#include <graph/io/graph_parse_sink_graph.h>
|
| | GraphParseSinkGraph (Graph &graph) |
| |
| void | addNewRelation (const QString &relName, const bool &changeRelation=false) override |
| |
| void | setRelation (int relNum, const bool &updateUI=true) override |
| |
| void | createNode (const int &num, const int &size, const QString &color, const QString &numColor, const int &numSize, const QString &label, const QString &lColor, const int &lSize, const QPointF &p, const QString &shape, const QString &iconPath=QString(), const bool &signalMW=false, const QHash< QString, QString > nodeCustomAttributes=QHash< QString, QString >()) override |
| |
| void | createNodeAtPosRandom (const bool &signalMW=false) override |
| |
| void | createNodeAtPosRandomWithLabel (const int &num, const QString &label, const bool &signalMW=false) override |
| |
| void | createEdge (const int &source, const int &target, const qreal &weight, const QString &color, const int &edgeDirType, const bool &arrows, const bool &bezier, const QString &edgeLabel=QString(), const bool &signalMW=false) override |
| |
| void | removeDummyNode (int num) override |
| |
| void | fileLoaded (const int &fileType, const QString &fileName, const QString &netName, const int &totalNodes, const int &totalLinks, const int &edgeDirType, const qint64 &elapsedTime, const QString &message=QString()) override |
| |
| virtual | ~IGraphParseSink ()=default |
| |
Forwards parse mutations directly into an existing Graph instance.
NOTE: This is intentionally a thin adapter. No logic, no ordering changes.
◆ GraphParseSinkGraph()
| SocNetV::IO::GraphParseSinkGraph::GraphParseSinkGraph |
( |
Graph & |
graph | ) |
|
|
explicit |
◆ addNewRelation()
| void SocNetV::IO::GraphParseSinkGraph::addNewRelation |
( |
const QString & |
relName, |
|
|
const bool & |
changeRelation = false |
|
) |
| |
|
overridevirtual |
◆ createEdge()
| void SocNetV::IO::GraphParseSinkGraph::createEdge |
( |
const int & |
source, |
|
|
const int & |
target, |
|
|
const qreal & |
weight, |
|
|
const QString & |
color, |
|
|
const int & |
edgeDirType, |
|
|
const bool & |
arrows, |
|
|
const bool & |
bezier, |
|
|
const QString & |
edgeLabel = QString(), |
|
|
const bool & |
signalMW = false |
|
) |
| |
|
overridevirtual |
◆ createNode()
| void SocNetV::IO::GraphParseSinkGraph::createNode |
( |
const int & |
num, |
|
|
const int & |
size, |
|
|
const QString & |
color, |
|
|
const QString & |
numColor, |
|
|
const int & |
numSize, |
|
|
const QString & |
label, |
|
|
const QString & |
lColor, |
|
|
const int & |
lSize, |
|
|
const QPointF & |
p, |
|
|
const QString & |
shape, |
|
|
const QString & |
iconPath = QString(), |
|
|
const bool & |
signalMW = false, |
|
|
const QHash< QString, QString > |
nodeCustomAttributes = QHash<QString, QString>() |
|
) |
| |
|
overridevirtual |
◆ createNodeAtPosRandom()
| void SocNetV::IO::GraphParseSinkGraph::createNodeAtPosRandom |
( |
const bool & |
signalMW = false | ) |
|
|
overridevirtual |
◆ createNodeAtPosRandomWithLabel()
| void SocNetV::IO::GraphParseSinkGraph::createNodeAtPosRandomWithLabel |
( |
const int & |
num, |
|
|
const QString & |
label, |
|
|
const bool & |
signalMW = false |
|
) |
| |
|
overridevirtual |
◆ fileLoaded()
| void SocNetV::IO::GraphParseSinkGraph::fileLoaded |
( |
const int & |
fileType, |
|
|
const QString & |
fileName, |
|
|
const QString & |
netName, |
|
|
const int & |
totalNodes, |
|
|
const int & |
totalLinks, |
|
|
const int & |
edgeDirType, |
|
|
const qint64 & |
elapsedTime, |
|
|
const QString & |
message = QString() |
|
) |
| |
|
overridevirtual |
◆ removeDummyNode()
| void SocNetV::IO::GraphParseSinkGraph::removeDummyNode |
( |
int |
num | ) |
|
|
overridevirtual |
◆ setRelation()
| void SocNetV::IO::GraphParseSinkGraph::setRelation |
( |
int |
relNum, |
|
|
const bool & |
updateUI = true |
|
) |
| |
|
overridevirtual |
◆ m_graph
| Graph& SocNetV::IO::GraphParseSinkGraph::m_graph |
|
private |
The documentation for this class was generated from the following files: