org.eclipse.elk.alg.layered.graph.LGraph.class Maven / Gradle / Ivy
???? 7 ? (org/eclipse/elk/alg/layered/graph/LGraph /org/eclipse/elk/alg/layered/graph/LGraphElement java/lang/Iterable serialVersionUID J
ConstantValue???C??, size #Lorg/eclipse/elk/core/math/KVector; padding ,Lorg/eclipse/elk/alg/layered/graph/LPadding; offset layerlessNodes Ljava/util/List; Signature ;Ljava/util/List; layers ;Ljava/util/List;
parentNode )Lorg/eclipse/elk/alg/layered/graph/LNode; ()V Code
!org/eclipse/elk/core/math/KVector
"
$ *org/eclipse/elk/alg/layered/graph/LPadding
# ' )
+ - , com/google/common/collect/Lists . / newArrayList ()Ljava/util/ArrayList; 1 3 LineNumberTable LocalVariableTable this *Lorg/eclipse/elk/alg/layered/graph/LGraph; getSize %()Lorg/eclipse/elk/core/math/KVector;
getActualSize < = > x D # @ A > left # C D > right F G > y # I J > top # L M > bottom
O P (DD)V
getPadding .()Lorg/eclipse/elk/alg/layered/graph/LPadding; getOffset getLayerlessNodes ()Ljava/util/List; =()Ljava/util/List; getLayers =()Ljava/util/List;
getParentNode +()Lorg/eclipse/elk/alg/layered/graph/LNode; \
setParentNode ,(Lorg/eclipse/elk/alg/layered/graph/LNode;)V iterator ()Ljava/util/Iterator; A()Ljava/util/Iterator; c e d java/util/List _ ` toNodeArray -()[[Lorg/eclipse/elk/alg/layered/graph/LNode; c i j ()I l *[Lorg/eclipse/elk/alg/layered/graph/LNode; c n o p listIterator ()Ljava/util/ListIterator; r t s java/util/ListIterator u v next ()Ljava/lang/Object; x 'org/eclipse/elk/alg/layered/graph/Layer r z { j
previousIndex
w } ~ U getNodes
? ? ? ,org/eclipse/elk/alg/layered/graph/LGraphUtil f ? B(Ljava/util/Collection;)[Lorg/eclipse/elk/alg/layered/graph/LNode; r ? ? ? hasNext ()Z lgraphArray +[[Lorg/eclipse/elk/alg/layered/graph/LNode; layerIter Ljava/util/ListIterator; layer )Lorg/eclipse/elk/alg/layered/graph/Layer;
layerIndex I LocalVariableTypeTable CLjava/util/ListIterator;
StackMapTable ? toString ()Ljava/lang/String; c ? ? ? isEmpty ? java/lang/StringBuilder ? G-unlayered
? ? ? (Ljava/lang/String;)V
? ? ? java/lang/Object ? ?
? ? ? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
? ? ? G-layered ? G[layerless ? , layers ? ]
SourceFile LGraph.java pLorg/eclipse/elk/alg/layered/graph/LGraphElement;Ljava/lang/Iterable; 1
v 4*? *? Y? ? !*? #Y? %? &*? Y? ? (*? *? 0*? *? 2? 4 ( 1 8 % = , B 3 5 4 6 7 8 9 / *? !? 4 R 5 6 7 : 9 l 6? Y*? !? ;*? &? ?c*? &? Bc*? !? E*? &? Hc*? &? Kc? N? 4 ^ _ ` 2 ^ 5 6 6 7 Q R / *? &? 4 k 5 6 7 S 9 / *? (? 4 z 5 6 7 T U V / *? 0? 4 ? 5 6 7 W U X / *? 2? 4 ? 5 6 7 Y Z / *? [? 4 ? 5 6 7 ] ^ > *+? [? 4
? ? 5 6 7 _ ` a 4
*? 2? b ? 4 ? 5
6 7 f g ? B*? 2? h ? kL*? 2? m M? ,? q ? wN,? y 6+-? |? S,? ? ???+? 4 " ?
? ? ? $ ? , ? 7 ? @ ? 5 4 B 6 7
5 ? ? + ? ? $ ? ? , ? ? ? + ? ? ? ? ? r ? ? ? q*? 2? ? ? ? ?Y?? ?*? 0? ?? ?? ??*? 0? ? ? ? ?Y?? ?*? 2? ?? ?? ??? ?Y?? ?*? 0? ?? ??? ?*? 2? ?? ??? ?? ?? 4 ? ? # ? / ? F ? 5 q 6 7 ? #" ? ? ?