Created the concept of graph types and display options for those graph types.

This commit is contained in:
ghidravore
2021-08-09 13:18:23 -04:00
parent cf293853e8
commit 210cc0bca0
84 changed files with 4102 additions and 1822 deletions
@@ -22,7 +22,7 @@ import ghidra.service.graph.*;
* Example script for creating and displaying a graph in ghidra
*/
public class ExampleGraphServiceScript extends GhidraScript {
private AttributedGraph graph = new AttributedGraph();
private AttributedGraph graph = new AttributedGraph("Test", new EmptyGraphType());
private int nextEdgeID = 1;
@Override
@@ -107,7 +107,7 @@ public class GraphClassesScript extends GhidraScript {
*/
private AttributedGraph createGraph() throws Exception {
AttributedGraph g = new AttributedGraph();
AttributedGraph g = new AttributedGraph("Test Graph", new EmptyGraphType());
for (Structure classStructure : classStructures) {