Horizontal Tree Layout for Graph Visualization
layout_horizontal_tree.Rd
Rotates a tree layout by -90 degrees to produce a horizontal orientation. This is particularly useful for hierarchical visualizations where a left-to-right structure is preferred over the default top-to-bottom tree layout.
Value
A numeric matrix with 2 columns representing x and y coordinates of each node in the layout.
This matrix can be passed to plot.igraph()
or other plotting functions.