Subclassed by GraphGridLayout, GraphHorizontalAdapter, GraphvizLayout
Public Types
-
using
Graph
= std::unordered_map<ut64, GraphBlock>
Public Functions
-
GraphLayout
(const LayoutConfig &layout_config)
-
~GraphLayout
()
-
void
CalculateLayout
(Graph &blocks, ut64 entry, int &width, int &height) const = 0
-
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:
-
enumerator
Down
-
enumerator
Left
-
enumerator
Up
-
enumerator
Right
-
enumerator
None
Public Functions
-
GraphEdge
(ut64 target)
-
struct
LayoutConfig
Public Members
-
int
blockVerticalSpacing
= 40
-
int
blockHorizontalSpacing
= 20
-
int
edgeVerticalSpacing
= 10
-
int
edgeHorizontalSpacing
= 10