org.eclipse.elk.alg.layered.options.Spacings.class Maven / Gradle / Ivy
???? 7 ? ,org/eclipse/elk/alg/layered/options/Spacings java/lang/Object graph *Lorg/eclipse/elk/alg/layered/graph/LGraph; nodeTypeSpacingOptionsHorizontal .[[Lorg/eclipse/elk/graph/properties/IProperty; Signature B[[Lorg/eclipse/elk/graph/properties/IProperty; nodeTypeSpacingOptionsVertical -(Lorg/eclipse/elk/alg/layered/graph/LGraph;)V Code
()V
0org/eclipse/elk/alg/layered/graph/LNode$NodeType values 5()[Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;
! precalculateNodeTypeSpacings LineNumberTable LocalVariableTable this .Lorg/eclipse/elk/alg/layered/options/Spacings; n I ) * + NORMAL 2Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType; - / . 2org/eclipse/elk/alg/layered/options/LayeredOptions 0 1 SPACING_NODE_NODE ,Lorg/eclipse/elk/graph/properties/IProperty; - 3 4 1 SPACING_NODE_NODE_BETWEEN_LAYERS
6 7 8 nodeTypeSpacing ?(Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;Lorg/eclipse/elk/graph/properties/IProperty;Lorg/eclipse/elk/graph/properties/IProperty;)V : ; + LONG_EDGE - = > 1 SPACING_EDGE_NODE - @ A 1 SPACING_EDGE_NODE_BETWEEN_LAYERS
C 7 D ?(Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;Lorg/eclipse/elk/graph/properties/IProperty;Lorg/eclipse/elk/graph/properties/IProperty;)V F G + NORTH_SOUTH_PORT
I 7 J ?(Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;Lorg/eclipse/elk/graph/properties/IProperty;)V L M +
EXTERNAL_PORT O P + LABEL - R S 1 SPACING_EDGE_EDGE - U V 1 SPACING_EDGE_EDGE_BETWEEN_LAYERS
X 7 Y a(Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;Lorg/eclipse/elk/graph/properties/IProperty;)V - [ \ 1 SPACING_LABEL_NODE - ^ _ 1 SPACING_PORT_PORT - a b 1 SPACING_LABEL_PORT_VERTICAL - d e 1 SPACING_LABEL_PORT_HORIZONTAL g h + BREAKING_POINT u(Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;Lorg/eclipse/elk/graph/properties/IProperty;)V
k l m ordinal ()I nt spacing LocalVariableTypeTable @Lorg/eclipse/elk/graph/properties/IProperty; ?(Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;Lorg/eclipse/elk/graph/properties/IProperty;Lorg/eclipse/elk/graph/properties/IProperty;)V spacingVert spacingHorz ?(Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;Lorg/eclipse/elk/graph/properties/IProperty;)V n1 n2 ?(Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;Lorg/eclipse/elk/graph/properties/IProperty;Lorg/eclipse/elk/graph/properties/IProperty;)V getHorizontalSpacing e(Lorg/eclipse/elk/alg/layered/graph/LGraphElement;Lorg/eclipse/elk/alg/layered/graph/LGraphElement;)D | 'org/eclipse/elk/alg/layered/graph/LNode
~ y U(Lorg/eclipse/elk/alg/layered/graph/LNode;Lorg/eclipse/elk/alg/layered/graph/LNode;)D ? Horg/eclipse/elk/alg/layered/options/Spacings$UnspecifiedSpacingException
? e1 1Lorg/eclipse/elk/alg/layered/graph/LGraphElement; e2
StackMapTable
? ? ? getLocalSpacing ?(Lorg/eclipse/elk/alg/layered/graph/LNode;Lorg/eclipse/elk/alg/layered/graph/LNode;[[Lorg/eclipse/elk/graph/properties/IProperty;)D )Lorg/eclipse/elk/alg/layered/graph/LNode; g(Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;)D
? ? ? ?(Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;[[Lorg/eclipse/elk/graph/properties/IProperty;)D nt1 nt2 getVerticalSpacing ?(Lorg/eclipse/elk/alg/layered/graph/LNode;Lorg/eclipse/elk/alg/layered/graph/LNode;[[Lorg/eclipse/elk/graph/properties/IProperty;)D
{ ? ? ? getType 4()Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;
? ? ? getIndividualOrDefault i(Lorg/eclipse/elk/alg/layered/graph/LNode;Lorg/eclipse/elk/graph/properties/IProperty;)Ljava/lang/Object; ? java/lang/Double
? ? ? ? doubleValue ()D
? ? ? java/lang/Math ? ? max (DD)D nodeTypeSpacingMapping t1 t2 layoutOption s1 Ljava/lang/Double; s2 ?(Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;[[Lorg/eclipse/elk/graph/properties/IProperty;)D
? ? ? (org/eclipse/elk/alg/layered/graph/LGraph ? ? getProperty @(Lorg/eclipse/elk/graph/properties/IProperty;)Ljava/lang/Object; u(Lorg/eclipse/elk/alg/layered/graph/LNode;Lorg/eclipse/elk/graph/properties/IProperty;)TT; - ? ? 1 SPACING_INDIVIDUAL
{ ? ? ? hasProperty /(Lorg/eclipse/elk/graph/properties/IProperty;)Z
{ ? ? 0org/eclipse/elk/graph/properties/IPropertyHolder ? ? ? ?
{ ? ? ? getGraph ,()Lorg/eclipse/elk/alg/layered/graph/LGraph; node property result Ljava/lang/Object; individualSpacings 2Lorg/eclipse/elk/graph/properties/IPropertyHolder; 1Lorg/eclipse/elk/graph/properties/IProperty; TT;
SourceFile
Spacings.java InnerClasses NodeType UnspecifiedSpacingException NestMembers 1
} '*? *+? ? ?=*? ? *? ? *? ? " / 0 3 4 5 " 6 &