|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.hierarchic.PortAssignment
public class PortAssignment
This class assigns port coordinates to the edges of a graph.
| Constructor Summary | |
|---|---|
PortAssignment()
|
|
| Method Summary | |
|---|---|
static void |
assignPorts(LayoutGraph g,
DataProvider dummyMark,
Comparator inComp,
Comparator outComp)
Assigns port coordinates to the edges. |
static void |
assignPorts(LayoutGraph g,
NodeList[] layers,
DataProvider dummyMark)
Assigns port coordinates to the edges. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortAssignment()
| Method Detail |
|---|
public static void assignPorts(LayoutGraph g,
NodeList[] layers,
DataProvider dummyMark)
g - graph whose edges need port assignmentlayers - the layering of gdummyMark - provides boolean data about whether a node
is a dummy node or not.
public static void assignPorts(LayoutGraph g,
DataProvider dummyMark,
Comparator inComp,
Comparator outComp)
g - graph whose edges need port assignmentdummyMark - provides boolean data about whether a node
is a dummy node or not.inComp - A Comparator that defines an ordering for edges. This comparator is used for ordering the edges entering a node.outComp - A Comparator that defines an ordering for edges. This comparator is used for ordering the edges leaving a node
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||