public interface ILayerConstraint
Such constraints can be given as additional input to the HierarchicLayout
.
ILayerConstraintFactory
Modifier and Type | Method and Description |
---|---|
int |
getPriority()
Gets the priority of a constraint.
|
void |
setPriority(int value)
Sets the priority of a constraint.
|
int getPriority()
This value is used for resolving conflicting constraints. A constraint with a higher priority is more likely to be considered.
The priority has to be greater than 0
.
setPriority(int)
void setPriority(int value)
This value is used for resolving conflicting constraints. A constraint with a higher priority is more likely to be considered.
The priority has to be greater than 0
.
value
- the constraint prioritygetPriority()