| igraph Reference Manual |
|---|
int igraph_layout_reingold_tilford_circular(const igraph_t *graph, igraph_matrix_t *res, long int root);
This layout is almost the same as igraph_layout_reingold_tilford(), but
the tree is drawn in a circular way, with the root vertex in the center.
Arguments:
graph: |
The graph object. |
res: |
The result, the coordinates in a matrix. The parameter should point to an initialized matrix object and will be resized. |
root: |
The index of the root vertex. |
Returns:
|
Error code. |
See also:
<< 1.6. igraph_layout_reingold_tilford — Reingold-Tilford layout for tree graphs |
1.8. igraph_layout_grid_fruchterman_reingold — Force based layout generator for large graphs. >> |