All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.elk.alg.layered.graph.LNode.class Maven / Gradle / Ivy

There is a newer version: 1.2024.8
Show newest version
????7('org/eclipse/elk/alg/layered/graph/LNode(org/eclipse/elk/alg/layered/graph/LShapeserialVersionUIDJ
ConstantValueĴǿ?wqSgraph*Lorg/eclipse/elk/alg/layered/graph/LGraph;layer)Lorg/eclipse/elk/alg/layered/graph/Layer;type2Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;portsLjava/util/List;	Signature;Ljava/util/List;labels;nestedGraphmargin+Lorg/eclipse/elk/alg/layered/graph/LMargin;padding,Lorg/eclipse/elk/alg/layered/graph/LPadding;portSideIndicesLjava/util/EnumMap;?Ljava/util/EnumMap;>;portSidesCachedZ$assertionsDisabled:$SWITCH_TABLE$org$eclipse$elk$alg$layered$options$PortType[I3$SWITCH_TABLE$org$eclipse$elk$core$options$PortSideK$SWITCH_TABLE$org$eclipse$elk$alg$layered$options$InteractiveReferencePoint()VCode
)+*java/lang/Class,-desiredAssertionStatus()Z	/ LineNumberTableLocalVariableTable
StackMapTable-(Lorg/eclipse/elk/alg/layered/graph/LGraph;)V
63&	8:90org/eclipse/elk/alg/layered/graph/LNode$NodeType;NORMAL	=
?A@com/google/common/collect/ListsBCnewArrayListWithCapacity(I)Ljava/util/ArrayList;	E	GI)org/eclipse/elk/alg/layered/graph/LMargin
H6	LN*org/eclipse/elk/alg/layered/graph/LPadding
M6	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bcgetNodes()Ljava/util/List;egfjava/util/Listhiremove(Ljava/lang/Object;)ZekliaddthelayergetGraph,()Lorg/eclipse/elk/alg/layered/graph/LGraph;
_qnosetGraphtjava/lang/AssertionError
s6newGraph-(ILorg/eclipse/elk/alg/layered/graph/Layer;)Veyz{size()I}"java/lang/IllegalArgumentException*index must be >= 0 and <= layer node count
|?3?(Ljava/lang/String;)Ve?l?(ILjava/lang/Object;)VindexInewlayergetType4()Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;setType5(Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;)VgetPorts=()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??filterL(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Ljava/lang/Iterable;	????OUTPUT_PREDICATE
???java/util/Collections?c	emptyListportType.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_PREDICATEside'Lorg/eclipse/elk/core/options/PortSide;getPortSideView9(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
????	getSeconde???subList(II)Ljava/util/List;indices Lorg/eclipse/elk/core/util/Pair;LocalVariableTypeTableHLorg/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??andh(Lcom/google/common/base/Predicate;Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;
typePredicate
sidePredicateMLcom/google/common/base/Predicate;? com/google/common/base/PredicategetIncomingEdges()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;	iterablesport)Lorg/eclipse/elk/alg/layered/graph/LPort;QLjava/util/List;>;getOutgoingEdges
?cgetConnectedEdges
??	getLabels>()Ljava/util/List;getNestedGraph	setNestedGraph	getMargin-()Lorg/eclipse/elk/alg/layered/graph/LMargin;
getPadding.()Lorg/eclipse/elk/alg/layered/graph/LPadding;getIndexe$%&indexOf(Ljava/lang/Object;)IborderToContentAreaCoordinates(ZZ)V
q
+-,(org/eclipse/elk/alg/layered/graph/LGraph !
+/01	getOffset%()Lorg/eclipse/elk/core/math/KVector;
341getPosition	687!org/eclipse/elk/core/math/KVector9:xD	M<=:left	6?@:y	MBC:top
horizontalverticalthegraphgraphPaddingoffset#Lorg/eclipse/elk/core/math/KVector;posgetInteractiveReferencePoint
M$?	OQP2org/eclipse/elk/alg/layered/options/LayeredOptionsRSINTERACTIVE_REFERENCE_POINT,Lorg/eclipse/elk/graph/properties/IProperty;
+UVWgetProperty@(Lorg/eclipse/elk/graph/properties/IProperty;)Ljava/lang/Object;Y=org/eclipse/elk/alg/layered/options/InteractiveReferencePoint
X?
\]1getSize@
6a3b(DD)V
6d3e&(Lorg/eclipse/elk/core/math/KVector;)VnodePosnodeSizecachePortSides
jlkcom/google/common/collect/Mapsmn
newEnumMap&(Ljava/lang/Class;)Ljava/util/EnumMap;	?pq?NORTHes?t(I)Ljava/lang/Object;
?vwxgetSide)()Lorg/eclipse/elk/core/options/PortSide;
?z{|valueOf(I)Ljava/lang/Integer;
?~?ofF(Ljava/lang/Object;Ljava/lang/Object;)Lorg/eclipse/elk/core/util/Pair;
????put6(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;firstIndexForCurrentSidecurrentSidecurrentIndexgetDesignation()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;idLjava/lang/String;?java/lang/StringisInlineEdgeLabel
???	8??LABEL	???6org/eclipse/elk/alg/layered/options/InternalProperties?SREPRESENTED_LABELS
Ue???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?)?_
?
??resultLjava/lang/StringBuilder;	?!"
????values1()[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_LEFTlambda$0-(Lorg/eclipse/elk/alg/layered/graph/LLabel;)Z	OSEDGE_LABELS_INLINE
?Ujava/lang/Boolean


-booleanValuelabel*Lorg/eclipse/elk/alg/layered/graph/LLabel;
SourceFile
LNode.javaBootstrapMethods
"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/MethodHandlesLookupNodeTypeNestMembers1

 J!"J#"J$""%&'@?(???.?0
!I12@34'?=*?5*?7?<*?>?D*?>?F*?HY?J?K*?MY?O?P*?R*+?T?0&	ePRTX'Z2^7f<g1=VW=
XY'/*?Z?0o1VW\]'?0*?Z?*?Z?^*?dW*+?Z*?Z?*?Z?^*?jW?0|}??!?/?10VW0m
2no'V*?T?*?Z?*?Z?p?*?T?0???1VW2r4'`?.?*?Z??sY?u?*+?T?0???1VWv2\w'?I,??,?^?x?
?|Y~???*?Z?*?Z?^*?dW*,?Z,?,?^*???0"???&?4?9?=?H?1 IVWI??I?
2	??'/*?*+?IT1XVWX??2(



???'?=*?R?*??*??+????M,????*?D,???ض?,???ضڹ??0 1 =VW=??&???&??2	?????'U?N??+??.?!??N???N:??,??.?;&.6??:???:???:???:-??*?D-???????0F,- /$0'2+6.7T9Y:\<a=d?i@lBqFzG?I14?VW?????????.^??????.^??2	? ??(????'?4??L*?D??N?-???M+,??jW-????+?
?0STU&T/X1 4VW0?02?e??'?4??L*?D??N?-???M+,??jW-????+?
?0abc&b/f1 4VW0?02?e??'?4??L*?D??N?-???M+,??jW-????+?
?0opq&p/t1 4VW0?02?ec'/*?F?0}1VWo'/*??0?1VW4'>*+??0
??1VW'/*?K?0?1VW !'/*?P?0?1VW"{'R*?Z??*?Z?^*?#?0??	?1VW2	'('?L*?)N-?*:-?.:*?2:??5?;g?5g?5??>?Ag?>g?>?0&	??????1?5?K?1HLVWLDLEGFAG;HI5JI2?1+M66K1'?
f?L*?)?N?T?X?Z.?PD*?2L*?[M?6Y+?5,?5^oc+?>,?>^oc?`??6Y*?2?c??0?,?1?6?X?d?1 fVW1'fI6"gI2,+h&'<
*?R*?DZ0??	?1
VW?&'r*??i????*?D?r??:?u,?$?*??,?y?y?}??W?uM1FVW8??2	3?
??-'e**?????!*?????e?????????0!"&!1*VW2(??'?I??Y??L+???W*?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy