org.eclipse.elk.alg.layered.graph.LNode.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-epl Show documentation
Show all versions of plantuml-epl Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
???? 7( 'org/eclipse/elk/alg/layered/graph/LNode (org/eclipse/elk/alg/layered/graph/LShape serialVersionUID J
ConstantValueĴǿ?wqS graph *Lorg/eclipse/elk/alg/layered/graph/LGraph; layer )Lorg/eclipse/elk/alg/layered/graph/Layer; type 2Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType; ports Ljava/util/List; Signature ;Ljava/util/List; labels ; nestedGraph margin +Lorg/eclipse/elk/alg/layered/graph/LMargin; padding ,Lorg/eclipse/elk/alg/layered/graph/LPadding; portSideIndices Ljava/util/EnumMap; ?Ljava/util/EnumMap;>; portSidesCached Z $assertionsDisabled :$SWITCH_TABLE$org$eclipse$elk$alg$layered$options$PortType [I 3$SWITCH_TABLE$org$eclipse$elk$core$options$PortSide K$SWITCH_TABLE$org$eclipse$elk$alg$layered$options$InteractiveReferencePoint ()V Code
) + * java/lang/Class , - desiredAssertionStatus ()Z / LineNumberTable LocalVariableTable
StackMapTable -(Lorg/eclipse/elk/alg/layered/graph/LGraph;)V
6 3 & 8 : 9 0org/eclipse/elk/alg/layered/graph/LNode$NodeType ; NORMAL =
? A @ com/google/common/collect/Lists B C newArrayListWithCapacity (I)Ljava/util/ArrayList; E G I )org/eclipse/elk/alg/layered/graph/LMargin
H 6 L N *org/eclipse/elk/alg/layered/graph/LPadding
M 6 Q S U
this )Lorg/eclipse/elk/alg/layered/graph/LNode; getLayer +()Lorg/eclipse/elk/alg/layered/graph/Layer; [
setLayer ,(Lorg/eclipse/elk/alg/layered/graph/Layer;)V
_ a ` 'org/eclipse/elk/alg/layered/graph/Layer b c getNodes ()Ljava/util/List; e g f java/util/List h i remove (Ljava/lang/Object;)Z e k l i add thelayer getGraph ,()Lorg/eclipse/elk/alg/layered/graph/LGraph;
_ q n o setGraph t java/lang/AssertionError
s 6 newGraph -(ILorg/eclipse/elk/alg/layered/graph/Layer;)V e y z { size ()I } "java/lang/IllegalArgumentException *index must be >= 0 and <= layer node count
| ? 3 ? (Ljava/lang/String;)V e ? l ? (ILjava/lang/Object;)V index I newlayer getType 4()Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType; setType 5(Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;)V getPorts =()Ljava/util/List; D(Lorg/eclipse/elk/alg/layered/options/PortType;)Ljava/lang/Iterable; o(Lorg/eclipse/elk/alg/layered/options/PortType;)Ljava/lang/Iterable;
? ! ? ()[I
? ? ? ,org/eclipse/elk/alg/layered/options/PortType ? { ordinal ? ? ? 'org/eclipse/elk/alg/layered/graph/LPort ? ? INPUT_PREDICATE "Lcom/google/common/base/Predicate;
? ? ? #com/google/common/collect/Iterables ? ? filter L(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Ljava/lang/Iterable; ? ? ? ? OUTPUT_PREDICATE
? ? ? java/util/Collections ? c emptyList portType .Lorg/eclipse/elk/alg/layered/options/PortType; =(Lorg/eclipse/elk/core/options/PortSide;)Ljava/lang/Iterable; h(Lorg/eclipse/elk/core/options/PortSide;)Ljava/lang/Iterable;
? # ?
? ? ? %org/eclipse/elk/core/options/PortSide ? ? ? ? NORTH_PREDICATE ? ? ? ? EAST_PREDICATE ? ? ? ? SOUTH_PREDICATE ? ? ? ? WEST_PREDICATE side 'Lorg/eclipse/elk/core/options/PortSide; getPortSideView 9(Lorg/eclipse/elk/core/options/PortSide;)Ljava/util/List; d(Lorg/eclipse/elk/core/options/PortSide;)Ljava/util/List;
? ? & findPortIndices ?
? ? ? java/util/EnumMap ? ? get &(Ljava/lang/Object;)Ljava/lang/Object; ? org/eclipse/elk/core/util/Pair
? ? ? ? getFirst ()Ljava/lang/Object; ? java/lang/Integer
? ? ? { intValue
? ? ? ? getSecond e ? ? ? subList (II)Ljava/util/List; indices Lorg/eclipse/elk/core/util/Pair; LocalVariableTypeTable HLorg/eclipse/elk/core/util/Pair; k(Lorg/eclipse/elk/alg/layered/options/PortType;Lorg/eclipse/elk/core/options/PortSide;)Ljava/lang/Iterable; ?(Lorg/eclipse/elk/alg/layered/options/PortType;Lorg/eclipse/elk/core/options/PortSide;)Ljava/lang/Iterable;
? ? ? !com/google/common/base/Predicates ? ? and h(Lcom/google/common/base/Predicate;Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;
typePredicate
sidePredicate MLcom/google/common/base/Predicate; ? com/google/common/base/Predicate getIncomingEdges ()Ljava/lang/Iterable; A()Ljava/lang/Iterable;
? ? ? ? newArrayList ()Ljava/util/ArrayList; e ? ? ? iterator ()Ljava/util/Iterator; java/util/Iterator ? next
? ? c - hasNext
?
concat *(Ljava/lang/Iterable;)Ljava/lang/Iterable; iterables port )Lorg/eclipse/elk/alg/layered/graph/LPort; QLjava/util/List;>; getOutgoingEdges
? c getConnectedEdges
? ? getLabels >()Ljava/util/List; getNestedGraph setNestedGraph getMargin -()Lorg/eclipse/elk/alg/layered/graph/LMargin;
getPadding .()Lorg/eclipse/elk/alg/layered/graph/LPadding; getIndex e$%& indexOf (Ljava/lang/Object;)I borderToContentAreaCoordinates (ZZ)V
q
+-, (org/eclipse/elk/alg/layered/graph/LGraph !
+/01 getOffset %()Lorg/eclipse/elk/core/math/KVector;
341 getPosition 687 !org/eclipse/elk/core/math/KVector9: x D M<=: left 6?@: y MBC: top
horizontal vertical thegraph graphPadding offset #Lorg/eclipse/elk/core/math/KVector; pos getInteractiveReferencePoint
M $ ? OQP 2org/eclipse/elk/alg/layered/options/LayeredOptionsRS INTERACTIVE_REFERENCE_POINT ,Lorg/eclipse/elk/graph/properties/IProperty;
+UVW getProperty @(Lorg/eclipse/elk/graph/properties/IProperty;)Ljava/lang/Object;Y =org/eclipse/elk/alg/layered/options/InteractiveReferencePoint
X ?
\]1 getSize@
6a 3b (DD)V
6d 3e &(Lorg/eclipse/elk/core/math/KVector;)V nodePos nodeSize cachePortSides
jlk com/google/common/collect/Mapsmn
newEnumMap &(Ljava/lang/Class;)Ljava/util/EnumMap; ?pq ? NORTH es ?t (I)Ljava/lang/Object;
?vwx getSide )()Lorg/eclipse/elk/core/options/PortSide;
?z{| valueOf (I)Ljava/lang/Integer;
?~? of F(Ljava/lang/Object;Ljava/lang/Object;)Lorg/eclipse/elk/core/util/Pair;
???? put 6(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object; firstIndexForCurrentSide currentSide currentIndex getDesignation ()Ljava/lang/String; e?? - isEmpty? (org/eclipse/elk/alg/layered/graph/LLabel
???? getText
??? com/google/common/base/Strings??
isNullOrEmpty (Ljava/lang/String;)Z
???
?" {
???? toString (I)Ljava/lang/String; id Ljava/lang/String;? java/lang/String isInlineEdgeLabel
? ? ? 8?? LABEL ??? 6org/eclipse/elk/alg/layered/options/InternalProperties?S REPRESENTED_LABELS
U e??? stream ()Ljava/util/stream/Stream; ??? test ()Ljava/util/function/Predicate;??? java/util/stream/Stream?? allMatch !(Ljava/util/function/Predicate;)Z? java/lang/StringBuilder
? 6? n
???? append -(Ljava/lang/String;)Ljava/lang/StringBuilder;? (
8???
???? toLowerCase? )? _
?
?? result Ljava/lang/StringBuilder; ? ! "
???? values 1()[Lorg/eclipse/elk/alg/layered/options/PortType; ??? ? INPUT ??? ? OUTPUT ??? ? UNDEFINED? java/lang/NoSuchFieldError " ? # "
???? *()[Lorg/eclipse/elk/core/options/PortSide; ??? ? EAST ??? ? SOUTH ??? ? ??? ? WEST ? $ "
X??? B()[Lorg/eclipse/elk/alg/layered/options/InteractiveReferencePoint; X?? CENTER ?Lorg/eclipse/elk/alg/layered/options/InteractiveReferencePoint; X TOP_LEFT lambda$0 -(Lorg/eclipse/elk/alg/layered/graph/LLabel;)Z OS EDGE_LABELS_INLINE
?U java/lang/Boolean
- booleanValue label *Lorg/eclipse/elk/alg/layered/graph/LLabel;
SourceFile
LNode.java BootstrapMethods
"java/lang/invoke/LambdaMetafactory metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; i
InnerClasses" %java/lang/invoke/MethodHandles$Lookup$ java/lang/invoke/MethodHandles Lookup NodeType NestMembers 1
J ! " J # " J $ " " % &