mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GT-3019 - Function Graph - Added option for edge routing around vertices
This commit is contained in:
parent
ac98e609d7
commit
a04185e942
24 changed files with 933 additions and 259 deletions
|
@ -44,8 +44,8 @@ import ghidra.util.task.TaskMonitor;
|
|||
*/
|
||||
public class BowTieLayout extends AbstractVisualGraphLayout<FcgVertex, FcgEdge> {
|
||||
|
||||
protected BowTieLayout(FunctionCallGraph graph) {
|
||||
super(graph);
|
||||
protected BowTieLayout(FunctionCallGraph graph, String name) {
|
||||
super(graph, name);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -58,7 +58,7 @@ public class BowTieLayout extends AbstractVisualGraphLayout<FcgVertex, FcgEdge>
|
|||
getClass().getSimpleName());
|
||||
}
|
||||
|
||||
BowTieLayout newLayout = new BowTieLayout((FunctionCallGraph) newGraph);
|
||||
BowTieLayout newLayout = new BowTieLayout((FunctionCallGraph) newGraph, getLayoutName());
|
||||
return newLayout;
|
||||
}
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ public class BowTieLayoutProvider
|
|||
public VisualGraphLayout<FcgVertex, FcgEdge> getLayout(FunctionCallGraph graph,
|
||||
TaskMonitor monitor) throws CancelledException {
|
||||
|
||||
BowTieLayout layout = new BowTieLayout(graph);
|
||||
BowTieLayout layout = new BowTieLayout(graph, NAME);
|
||||
initVertexLocations(graph, layout);
|
||||
return layout;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue