dyng
DynamicGraphLayout
Public Member Functions | List of all members
dyng::initial_placement Class Reference

#include <initial_placement.h>

Public Member Functions

template<typename Graph >
void operator() (Graph &graph, float canvas_width, float canvas_height)
 

Detailed Description

Function object that creates an initial placement of nodes and edges. Places nodes in a circle around the center of the canvas.

Parameters
canvas_widthWidth of the canvas.
canvas_heightHeight of the canvas.
graphGraph to create the initial placement of.

The documentation for this class was generated from the following file: