Available Graph Layout Algorithms
masterGraphView supports several layout algorithms depending on your data structure:
- Tree (
BuchheimWalkerAlgorithm): Uses Walker's algorithm. Configure viaBuchheimWalkerConfiguration(supportsORIENTATION_LEFT_RIGHT,ORIENTATION_RIGHT_LEFT,ORIENTATION_TOP_BOTTOM,ORIENTATION_BOTTOM_TOP). - Tidier Tree (
TidierTreeLayoutAlgorithm): Improved tree layout for better spacing in complex hierarchies. - Directed Graph (
FruchtermanReingoldAlgorithm): Simulates attraction/repulsion forces; ideal for social networks or clusters. - Layered Graph (
SugiyamaAlgorithm): For multilayer graphs with hierarchical structures. Configure viaSugiyamaConfiguration. - Balloon Layout (
BalloonLayoutAlgorithm): Arranges children in circular patterns around parents. - Circular Layout (
CircleLayoutAlgorithm): Arranges all nodes in a circle; includes edge crossing reduction. - Radial Tree Layout (
RadialTreeLayoutAlgorithm): Converts trees into radial/polar coordinates. - Mindmap Layout (
MindmapAlgorithm): Distributes child nodes on the left and right sides of the root.