Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

OptionIDTypeApplies toDefault
Alignmentde.cau.cs.kieler.alignmentEnumNodesAUTOMATIC
Aspect Ratiode.cau.cs.kieler.aspectRatioFloatParents0.0
Bend Pointsde.cau.cs.kieler.bendPointsObjectEdges 
Border Spacingde.cau.cs.kieler.borderSpacingFloatParents 
Debug Modede.cau.cs.kieler.debugModeBooleanParentsfalse
Directionde.cau.cs.kieler.directionEnumParents 
Edge Routingde.cau.cs.kieler.edgeRoutingEnumParents 
Expand Nodesde.cau.cs.kieler.expandNodesBooleanParentsfalse
Interactivede.cau.cs.kieler.interactiveBooleanParentsfalse
Label Spacingde.cau.cs.kieler.labelSpacingFloatEdges
Nodes
 
Layout Hierarchyde.cau.cs.kieler.layoutHierarchyBooleanParentsfalse
Layout Algorithmde.cau.cs.kieler.algorithmStringParents 
Node Label Placementde.cau.cs.kieler.nodeLabelPlacementEnumSetNodes 
Port Constraintsde.cau.cs.kieler.portConstraintsEnumNodes 
Port Label Placementde.cau.cs.kieler.portLabelPlacementEnumNodesOUTSIDE
Port Spacingde.cau.cs.kieler.portSpacingFloatNodes 
Positionde.cau.cs.kieler.positionObject

Labels
Nodes
Ports

 
Priorityde.cau.cs.kieler.priorityIntEdges
Nodes
 
Randomization Seedde.cau.cs.kieler.randomSeedIntParents 
Separate Connected Componentsde.cau.cs.kieler.separateConnCompBooleanParents 
Size Constraintde.cau.cs.kieler.sizeConstraintEnumSetNodes 
Size Optionsde.cau.cs.kieler.sizeOptionsEnumSetNodesDEFAULT_MINIMUM_SIZE
Spacingde.cau.cs.kieler.spacingFloatParents 

...

OptionIDTypeApplies toDefault
Additional Port Spacede.cau.cs.kieler.additionalPortSpaceMarginsNodes0, 0, 0, 0

Animate

de.cau.cs.kieler.animate

BooleanParentstrue

Animation Time Factor

de.cau.cs.kieler.animTimeFactor

IntParents100

Comment Box

de.cau.cs.kieler.commentBox

BooleanNodesfalse
Diagram Typede.cau.cs.kieler.diagramTypeStringParents 
Edge Label Placementde.cau.cs.kieler.edgeLabelPlacementEnumLabels 
Edge Typede.cau.cs.kieler.edgeTypeEnumEdgesNONE
Font Namede.cau.cs.kieler.fontNameStringLabels 
Font Sizede.cau.cs.kieler.fontSizeIntLabels 
Hypernodede.cau.cs.kieler.hypernodeBooleanNodesfalse

Layout Ancestors

de.cau.cs.kieler.layoutAncestors

BooleanParentsfalse

Maximal Animation Time

de.cau.cs.kieler.maxAnimTim

IntParents4000

Minimal Animation Time

de.cau.cs.kieler.minAnimTim

IntParents400
Minimal Heightde.cau.cs.kieler.minHeightFloat

Nodes
Parents

0.0
Minimal Widthde.cau.cs.kieler.minWidthFloat

Nodes
Parents

0.0
No Layoutde.cau.cs.kieler.noLayoutBoolean false

Port Index

de.cau.cs.kieler.portIndex

IntPorts 
Port Offsetde.cau.cs.kieler.offsetFloatPorts 
Port Sidede.cau.cs.kieler.portSideEnumPorts 

Progress Bar

de.cau.cs.kieler.progressBar

BooleanParentsfalse
Scale Factor

de.cau.cs.kieler.scaleFactor

FloatNodes1.0
Thicknessde.cau.cs.kieler.thicknessFloatEdges1.0

Zoom to Fit

de.cau.cs.kieler.zoomToFit

BooleanParentsfalse

...

  1. Start at the source point of the edge.
  2. As long as there are at least three bend points left:
    1. Draw a cubic spline segment to the third bend point with the other two bend points as control points.
    2. Use the third bend point as start point for the next segment.
    3. Consume the three bend points and proceed to the next segment.
  3. Check the number of remaining bend points:
    1. Two bend points – draw a cubic spline segment to the target point of the edge.
    2. One bend point – draw a quadratic spline segment to the target point of the edge.
    3. No bend point – draw a straight line to the target point of the edge.

Other Options

Additional Port Space
Anchor
addPortSpace
addPortSpace

This option controls additional port space left around the set of ports on each side:

 

Alignment
Anchor
alignment
alignment

...

  • The port constraints on a node are set to FREE, FIXED_SIDES or FIXED_ORDER.
  • The port constraints on a node are set to FIXED_RATIO or FIXED_POS, and the size of the node is not fixed. (Note that this is especially true for ports of compound nodes.)

Port Spacing
Anchor
portSpacing
portSpacing

The port spacing determines how much space KLay Layered should leave between the ports of each side. This option is only relevant if the node size depends on the ports, that is, if the size constraints include SizeConstraint.PORTS.