Module render

Source
Expand description

Implements the drawing of elements and arrows on the backing canvas.

Traits§

RecordVisitor

Functions§

generate_curve_for_elements
get_shape_size
Return the size of the shape. If \p make_xy_same is set then make the X and the Y of the shape the same. This will turn ellipses into circles and rectangles into boxes. The parameter \p dir specifies the direction of the graph. This tells us if we need to draw records left to right or top down.
render_arrow