dyng
DynamicGraphLayout
|
#include <initial_placement.h>
Public Member Functions | |
template<typename Graph > | |
void | operator() (Graph &graph, float canvas_width, float canvas_height) |
Function object that creates an initial placement of nodes and edges. Places nodes in a circle around the center of the canvas.
canvas_width | Width of the canvas. |
canvas_height | Height of the canvas. |
graph | Graph to create the initial placement of. |