public class KeepHierarchyConstraint extends java.lang.Object implements EdgeWeightConstraint, JsonSerializable
| Constructor and Description |
|---|
KeepHierarchyConstraint(double modifier) |
| Modifier and Type | Method and Description |
|---|---|
double |
weight(Edge edge)
Assign a weight to the given edge.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromJson, toJsonpublic double weight(Edge edge)
EdgeWeightConstraintConstrainedSugiyamaLayoutAlgorithm algorithm.weight in interface EdgeWeightConstraintedge - The edge to assign a weight to.