org.eclipse.elk.alg.layered.graph.LEdge.class Maven / Gradle / Ivy
???? 7 'org/eclipse/elk/alg/layered/graph/LEdge /org/eclipse/elk/alg/layered/graph/LGraphElement serialVersionUID J
ConstantValue֘T1?.?
bendPoints (Lorg/eclipse/elk/core/math/KVectorChain; source )Lorg/eclipse/elk/alg/layered/graph/LPort; target labels Ljava/util/List; Signature ; ()V Code
&org/eclipse/elk/core/math/KVectorChain
com/google/common/collect/Lists ! " newArrayListWithCapacity (I)Ljava/util/ArrayList; $ LineNumberTable LocalVariableTable this )Lorg/eclipse/elk/alg/layered/graph/LEdge; reverse .(Lorg/eclipse/elk/alg/layered/graph/LGraph;Z)V
, - . getSource +()Lorg/eclipse/elk/alg/layered/graph/LPort;
0 1 . getTarget
3 4 5 setSource ,(Lorg/eclipse/elk/alg/layered/graph/LPort;)V
7 8 5 setTarget : < ; 6org/eclipse/elk/alg/layered/options/InternalProperties = >
INPUT_COLLECT ,Lorg/eclipse/elk/graph/properties/IProperty;
@ B A 'org/eclipse/elk/alg/layered/graph/LPort C D getProperty @(Lorg/eclipse/elk/graph/properties/IProperty;)Ljava/lang/Object; F java/lang/Boolean
E H I J booleanValue ()Z
@ L M N getNode +()Lorg/eclipse/elk/alg/layered/graph/LNode; P R Q ,org/eclipse/elk/alg/layered/options/PortType S T OUTPUT .Lorg/eclipse/elk/alg/layered/options/PortType; V X W %org/eclipse/elk/core/options/PortSide Y Z EAST 'Lorg/eclipse/elk/core/options/PortSide;
\ ^ ] ,org/eclipse/elk/alg/layered/graph/LGraphUtil _ ` provideCollectorPort ?(Lorg/eclipse/elk/alg/layered/graph/LGraph;Lorg/eclipse/elk/alg/layered/graph/LNode;Lorg/eclipse/elk/alg/layered/options/PortType;Lorg/eclipse/elk/core/options/PortSide;)Lorg/eclipse/elk/alg/layered/graph/LPort; : b c > OUTPUT_COLLECT P e f T INPUT V h i Z WEST k m l java/util/List n o iterator ()Ljava/util/Iterator; q s r java/util/Iterator t u next ()Ljava/lang/Object; w (org/eclipse/elk/alg/layered/graph/LLabel y { z 2org/eclipse/elk/alg/layered/options/LayeredOptions | > EDGE_LABELS_PLACEMENT
v B /org/eclipse/elk/core/options/EdgeLabelPlacement ~ ? ? ? TAIL 1Lorg/eclipse/elk/core/options/EdgeLabelPlacement; ~ ? ? ? HEAD
v ? ? ? setProperty t(Lorg/eclipse/elk/graph/properties/IProperty;Ljava/lang/Object;)Lorg/eclipse/elk/graph/properties/MapPropertyHolder; q ? ? J hasNext : ? ? > REVERSED
B
E ? ? ? valueOf (Z)Ljava/lang/Boolean;
?
? ) ? R(Lorg/eclipse/elk/core/math/KVectorChain;)Lorg/eclipse/elk/core/math/KVectorChain; layeredGraph *Lorg/eclipse/elk/alg/layered/graph/LGraph;
adaptPorts Z oldSource oldTarget label *Lorg/eclipse/elk/alg/layered/graph/LLabel; labelPlacement reversed
StackMapTable ? (org/eclipse/elk/alg/layered/graph/LGraph ? *org/eclipse/elk/graph/properties/IProperty ?
@ ? ? ? getOutgoingEdges ()Ljava/util/List; k ? ? ? remove (Ljava/lang/Object;)Z k ? ? ? add ?
@ ? ? ? getIncomingEdges setTargetAndInsertAtIndex -(Lorg/eclipse/elk/alg/layered/graph/LPort;I)V k ? ? ? (ILjava/lang/Object;)V
targetPort index I
isSelfLoop
isInLayerEdge
? ? J
? ? ? 'org/eclipse/elk/alg/layered/graph/LNode ? ? getLayer +()Lorg/eclipse/elk/alg/layered/graph/Layer;
getBendPoints *()Lorg/eclipse/elk/core/math/KVectorChain; getLabels >()Ljava/util/List; getOther T(Lorg/eclipse/elk/alg/layered/graph/LPort;)Lorg/eclipse/elk/alg/layered/graph/LPort; ? "java/lang/IllegalArgumentException ? A'port' must be either the source port or target port of the edge.
? ? ? (Ljava/lang/String;)V port T(Lorg/eclipse/elk/alg/layered/graph/LNode;)Lorg/eclipse/elk/alg/layered/graph/LNode; ? A'node' must either be the source node or target node of the edge. node )Lorg/eclipse/elk/alg/layered/graph/LNode; getDesignation ()Ljava/lang/String; k ? ? J isEmpty k ? ? ? get (I)Ljava/lang/Object;
v ? ? ? getText
? ? ? com/google/common/base/Strings ? ?
isNullOrEmpty (Ljava/lang/String;)Z
? ? ? toString ? java/lang/StringBuilder
? ? e_
? ? ? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
?
@ ? [
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ]
->
? ? ? result Ljava/lang/StringBuilder; designation Ljava/lang/String; java/lang/String
SourceFile
LEdge.java 1
N *? *? Y? ? *? ? #? % " ( &