|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.Swimlanes
public class Swimlanes
Swimlanes provides helper classes and methods to handle swimlanes.
It is used by IncrementalHierarchicLayouter to arrange the nodes in lanes.

| Nested Class Summary | |
|---|---|
static class |
Swimlanes.SwimlaneRepresentant
A SwimlaneRepresentant represents the position and arrangement
mode for a swimlane. |
| Field Summary | |
|---|---|
static byte |
MODE_IGNORE_GROUPS
Swimlane ordering mode specifier defining that node grouping is ignored during the swimlane ordering optimization. |
static byte |
MODE_MIXED
Swimlane ordering mode specifier defining that both node grouping and edge length are considered during the swimlane ordering optimization. |
static byte |
MODE_ONLY_GROUPS
Swimlane ordering mode specifier defining that only node grouping is considered during the swimlane ordering optimization. |
| Method Summary | |
|---|---|
static void |
arrangeSwimlanes(Graph graph,
DataProvider node2Swimlane)
Calculates an ordering of the swimlanes. |
static void |
arrangeSwimlanes(Graph graph,
DataProvider node2Swimlane,
int iterations,
int mode)
Calculates an ordering of the swimlanes considering the specified ordering mode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte MODE_IGNORE_GROUPS
arrangeSwimlanes(Graph, DataProvider, int, int),
Constant Field Valuespublic static final byte MODE_ONLY_GROUPS
arrangeSwimlanes(Graph,DataProvider,int,int),
Constant Field Valuespublic static final byte MODE_MIXED
arrangeSwimlanes(Graph,DataProvider,int,int),
Constant Field Values| Method Detail |
|---|
public static void arrangeSwimlanes(Graph graph,
DataProvider node2Swimlane)
group nodes
graph - the input graphnode2Swimlane - the assignment of nodes to swimlanesSwimlanes.SwimlaneRepresentant,
Grouping
public static void arrangeSwimlanes(Graph graph,
DataProvider node2Swimlane,
int iterations,
int mode)
group nodes
graph - the input graphnode2Swimlane - the assignment of nodes to swimlanesiterations - the number of iterations performed by the heuristic.mode - one of the valid swimlane ordering mode specifierSwimlanes.SwimlaneRepresentant,
Grouping
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||