|
template<typename Graph > |
void | operator() (Graph &graph, float canvas_width, float canvas_height) |
|
const InitialLayout & | initial_layout () const |
| Returns the object that crates initial placement.
|
|
InitialLayout & | initial_layout () |
| Returns the object that crates initial placement.
|
|
float | relative_unit (float width, float height) const |
| Returns the relative unit that is used with temperature calculations.
|
|
void | set_first_cooling (cooling c) |
| Sets the cooling strategy for the first algorithm pass.
|
|
void | set_second_cooling (cooling c) |
| Sets the cooling strategy for the second algorithm pass.
|
|
void | set_k_coeff (float coeff) |
| Sets the coefficient for the parameter k representing average edge length. More...
|
|
void | set_border_force_coeff (float coeff) |
| Sets the coefficient for border force calculations. More...
|
|
void | use_global_repulsion (bool value) |
| Switches whether or not repulsive force should be calculated between all nodes. More...
|
|
template<typename Graph > |
void | iteration (Graph &graph, float width, float height, float temperature) |
|
template<typename InitialLayout>
class dyng::fruchterman_reingold< InitialLayout >
An implementation of the Fruchterman and Reingold algorithm. It's used as a function object. Before it performs the algorithm, it first creates an initial placement using parameter InitialLayout.
(Referenced in section 6.1.2)
- Template Parameters
-
InitialLayout | Function object that crates initial placement. |
- See also
- cooling