GenericR2GraphView¶
-
class
GenericR2GraphView
: public SimpleTextGraphView¶ Generic graph view for r2 graphs. Not all r2 graph commands output the same kind of json. Only those that have following format.
Id don’t have to be sequential. Simple text label is displayed containing concatenation of label and body. No r2 builtin graph uses both. Duplicate edges and edges with target id not present in the list of nodes are removed.{ "nodes": [ { "id": 0, "tittle": "node_0_tittle", "body": "". "out_nodes": [1, 2, 3] }, ... ]}
Public Functions
-
GenericR2GraphView
(R2GraphWidget *parent, MainWindow *main)¶
-
void
setGraphCommand
(QString cmd)¶
-
void
refreshView
() override¶
-