Subclassed by GraphGridLayout, GraphHorizontalAdapter, GraphvizLayout
Public Types
-
using
Graph = std::unordered_map<ut64, GraphBlock>
Public Functions
-
GraphLayout(const LayoutConfig &layout_config)
-
virtual
~GraphLayout()
-
virtual void
CalculateLayout(Graph &blocks, ut64 entry, int &width, int &height) const = 0
-
virtual void
setLayoutConfig(const LayoutConfig &config)
-
struct
GraphBlock
Public Members
-
int
x = 0
-
int
y = 0
-
int
width = 0
-
int
height = 0
-
ut64
entry
-
std::vector<GraphEdge>
edges
-
struct
GraphEdge
Public Types
-
enum
ArrowDirection
Values:
-
Down
-
Left
-
Up
-
Right
-
None
Public Functions
-
GraphEdge(ut64 target)
-
struct
LayoutConfig
Public Members
-
int
blockVerticalSpacing = 40
-
int
blockHorizontalSpacing = 20
-
int
edgeVerticalSpacing = 10
-
int
edgeHorizontalSpacing = 10