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

org.eclipse.elk.graph.util.ElkGraphUtil.class Maven / Gradle / Ivy

????7?'org/eclipse/elk/graph/util/ElkGraphUtiljava/lang/ObjectcreateGraph!()Lorg/eclipse/elk/graph/ElkNode;Code
	

createNode@(Lorg/eclipse/elk/graph/ElkNode;)Lorg/eclipse/elk/graph/ElkNode;LineNumberTableLocalVariableTable	%org/eclipse/elk/graph/ElkGraphFactory	eINSTANCE'Lorg/eclipse/elk/graph/ElkGraphFactory;
createElkNodeorg/eclipse/elk/graph/ElkNode	setParent"(Lorg/eclipse/elk/graph/ElkNode;)VparentLorg/eclipse/elk/graph/ElkNode;node
StackMapTable
createPort@(Lorg/eclipse/elk/graph/ElkNode;)Lorg/eclipse/elk/graph/ElkPort;$%&
createElkPort!()Lorg/eclipse/elk/graph/ElkPort;()org/eclipse/elk/graph/ElkPortportLorg/eclipse/elk/graph/ElkPort;createLabelI(Lorg/eclipse/elk/graph/ElkGraphElement;)Lorg/eclipse/elk/graph/ElkLabel;/01createElkLabel"()Lorg/eclipse/elk/graph/ElkLabel;354org/eclipse/elk/graph/ElkLabel6*(Lorg/eclipse/elk/graph/ElkGraphElement;)V'Lorg/eclipse/elk/graph/ElkGraphElement;label Lorg/eclipse/elk/graph/ElkLabel;[(Ljava/lang/String;Lorg/eclipse/elk/graph/ElkGraphElement;)Lorg/eclipse/elk/graph/ElkLabel;
<,-3>?@setText(Ljava/lang/String;)VtextLjava/lang/String;
createEdge@(Lorg/eclipse/elk/graph/ElkNode;)Lorg/eclipse/elk/graph/ElkEdge;FGH
createElkEdge!()Lorg/eclipse/elk/graph/ElkEdge;JLKorg/eclipse/elk/graph/ElkEdgeMsetContainingNodecontainingNodeedgeLorg/eclipse/elk/graph/ElkEdge;createSimpleEdgew(Lorg/eclipse/elk/graph/ElkConnectableShape;Lorg/eclipse/elk/graph/ElkConnectableShape;)Lorg/eclipse/elk/graph/ElkEdge;Tsource cannot be null
VXWjava/util/ObjectsYZrequireNonNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;\target cannot be null
^CDJ`ab
getSources%()Lorg/eclipse/emf/common/util/EList;dfe!org/eclipse/emf/common/util/EListghadd(Ljava/lang/Object;)ZJjkb
getTargets
mnoupdateContainment"(Lorg/eclipse/elk/graph/ElkEdge;)Vsource+Lorg/eclipse/elk/graph/ElkConnectableShape;targetcreateHyperedgeI(Ljava/lang/Iterable;Ljava/lang/Iterable;)Lorg/eclipse/elk/graph/ElkEdge;	Signature?(Ljava/lang/Iterable;Ljava/lang/Iterable;)Lorg/eclipse/elk/graph/ElkEdge;xsources cannot be nullztargets cannot be null|~}java/lang/Iterable?iterator()Ljava/util/Iterator;???java/util/Iterator??next()Ljava/lang/Object;?)org/eclipse/elk/graph/ElkConnectableShape?f?java/util/List????hasNext()ZsourcesLjava/lang/Iterable;targetsedgeSourcesLjava/util/List;edgeTargetsLocalVariableTypeTableALjava/lang/Iterable;=Ljava/util/List;createEdgeSectionG(Lorg/eclipse/elk/graph/ElkEdge;)Lorg/eclipse/elk/graph/ElkEdgeSection;???createElkEdgeSection(()Lorg/eclipse/elk/graph/ElkEdgeSection;J??bgetSectionssection&Lorg/eclipse/elk/graph/ElkEdgeSection;?$org/eclipse/elk/graph/ElkEdgeSectionfirstEdgeSectionI(Lorg/eclipse/elk/graph/ElkEdge;ZZ)Lorg/eclipse/elk/graph/ElkEdgeSection;d???isEmpty
???d???get(I)Ljava/lang/Object;???b
getBendPointsd???clear()V????setStartLocation(DD)V????setEndLocation????size()I????removeresetSectionZremoveOtherSectionssections8Ljava/util/List;createBendPointL(Lorg/eclipse/elk/graph/ElkEdgeSection;)Lorg/eclipse/elk/graph/ElkBendPoint;
???N(Lorg/eclipse/elk/graph/ElkEdgeSection;DD)Lorg/eclipse/elk/graph/ElkBendPoint;edgeSection???createElkBendPoint&()Lorg/eclipse/elk/graph/ElkBendPoint;???"org/eclipse/elk/graph/ElkBendPoint??setxDy	bendPoint$Lorg/eclipse/elk/graph/ElkBendPoint;?edge cannot be null
???findBestEdgeContainment@(Lorg/eclipse/elk/graph/ElkEdge;)Lorg/eclipse/elk/graph/ElkNode;d??"java/lang/IllegalArgumentException?1The edge must have at least one source or target.
???@
???connectableShapeToNodeL(Lorg/eclipse/elk/graph/ElkConnectableShape;)Lorg/eclipse/elk/graph/ElkNode;??	getParent
???allIncidentShapes5(Lorg/eclipse/elk/graph/ElkEdge;)Ljava/lang/Iterable;
???isDescendantA(Lorg/eclipse/elk/graph/ElkNode;Lorg/eclipse/elk/graph/ElkNode;)Z
???findLowestCommonAncestor_(Lorg/eclipse/elk/graph/ElkNode;Lorg/eclipse/elk/graph/ElkNode;)Lorg/eclipse/elk/graph/ElkNode;
sourceNode
targetNodeincidentShapesLjava/util/Iterator;commonAncestorincidentNodeALjava/util/Iterator;8org/eclipse/elk/graph/util/ElkGraphUtil$AncestorIterator

?#(Lorg/eclipse/elk/graph/ElkNode;Z)V

com/google/common/collect/ListsnewArrayList+(Ljava/util/Iterator;)Ljava/util/ArrayList;?listIterator(I)Ljava/util/ListIterator;java/util/ListIterator?previous?hasPreviousnode1node2
ancestors1	iterator1Ljava/util/ListIterator;
ancestors2	iterator2	ancestor1	ancestor21Ljava/util/List;9Ljava/util/ListIterator;allIncomingEdges5(Lorg/eclipse/elk/graph/ElkNode;)Ljava/lang/Iterable;V(Lorg/eclipse/elk/graph/ElkNode;)Ljava/lang/Iterable;-.bgetPorts

012newArrayListWithCapacity(I)Ljava/util/ArrayList;45bgetIncomingEdgesd~(4
9;:#com/google/common/collect/Iterables<=concat*(Ljava/lang/Iterable;)Ljava/lang/Iterable;incomingEdgeIterablesGLjava/util/List;>;allOutgoingEdgesBCbgetOutgoingEdges(BoutgoingEdgeIterablesallIncidentEdgesA(Lorg/eclipse/elk/graph/ElkConnectableShape;)Ljava/lang/Iterable;b(Lorg/eclipse/elk/graph/ElkConnectableShape;)Ljava/lang/Iterable;?4?B
9L<M>(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/lang/Iterable;shape
P@*
R)*b(Lorg/eclipse/elk/graph/ElkEdge;)Ljava/lang/Iterable;allIncidentSections<(Lorg/eclipse/elk/graph/ElkEdgeSection;)Ljava/lang/Iterable;d(Lorg/eclipse/elk/graph/ElkEdgeSection;)Ljava/lang/Iterable;?XYbgetIncomingSections?[\bgetOutgoingSectionschildancestorcurrentcontainingGraphH(Lorg/eclipse/elk/graph/ElkGraphElement;)Lorg/eclipse/elk/graph/ElkNode;JcdgetContainingNodefhg%org/eclipse/elk/graph/ElkGraphElementij
eContainer!()Lorg/eclipse/emf/ecore/EObject;element(?njava/lang/NullPointerExceptionpconnectableShape cannot be null
m?s'java/lang/UnsupportedOperationExceptionuOnly support nodes and ports.
r?connectableShapeconnectableShapeToPortL(Lorg/eclipse/elk/graph/ElkConnectableShape;)Lorg/eclipse/elk/graph/ElkPort;
getSourceNode|Passed edge is not 'simple'.
simpleEdge
getTargetNode
getSourcePort@(Lorg/eclipse/elk/graph/ElkEdge;)Lorg/eclipse/elk/graph/ElkPort;
?xy
getTargetPortelementLabeledByI(Lorg/eclipse/elk/graph/ElkLabel;)Lorg/eclipse/elk/graph/ElkGraphElement;3???)()Lorg/eclipse/elk/graph/ElkGraphElement;?h?org/eclipse/emf/ecore/EObjectLorg/eclipse/emf/ecore/EObject;propertiesSkippingIteratorFor6(Lorg/eclipse/emf/ecore/EObject;Z)Ljava/util/Iterator;W(Lorg/eclipse/emf/ecore/EObject;Z)Ljava/util/Iterator;?Forg/eclipse/elk/graph/util/ElkGraphUtil$PropertiesSkippingTreeIterator
????(Ljava/lang/Object;Z)VrootincludeRootisAdvancedPropertyValue(Ljava/lang/Enum;)Z(Ljava/lang/Enum<*>;)Z
???getClass()Ljava/lang/Class;
???java/lang/Enum??name()Ljava/lang/String;
???java/lang/Class??getField-(Ljava/lang/String;)Ljava/lang/reflect/Field;
???java/lang/reflect/Field??getAnnotations$()[Ljava/lang/annotation/Annotation;
???java/util/Arrays??stream.([Ljava/lang/Object;)Ljava/util/stream/Stream;???test ()Ljava/util/function/Predicate;???java/util/stream/Stream??anyMatch!(Ljava/util/function/Predicate;)Z?java/lang/NoSuchFieldException?java/lang/SecurityException	enumValueLjava/lang/Enum;annotations"[Ljava/lang/annotation/Annotation;eLjava/lang/Exception;Ljava/lang/Enum<*>;?java/lang/ExceptionisExperimentalPropertyValue?
???this)Lorg/eclipse/elk/graph/util/ElkGraphUtil;lambda$0$(Ljava/lang/annotation/Annotation;)Z?6org/eclipse/elk/graph/properties/AdvancedPropertyValuea!Ljava/lang/annotation/Annotation;lambda$1?:org/eclipse/elk/graph/properties/ExperimentalPropertyValue
SourceFileElkGraphUtil.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;?h
?????h
?????InnerClasses?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookupAncestorIteratorPropertiesSkippingTreeIteratorNestMembers?Horg/eclipse/elk/graph/util/ElkGraphUtil$PropertiesSkippingTreeIterator$11$	%??L
	
d??L*?
+*?+?V	X
Y\
	
 ?	!"d??#L*?
+*?'+?f	h
il
	
*+ ?(	,-d??.L*?
+*?2+?v	x
y|
7	
89 ?3	,:T+?;M,*?=,????
 AB7	89	CDd??EL*?
+*?I+??	?
??
N	
OP ?J	QR?3*S?UW+[?UW?]M,?_*?cW,?i+?cW,?l,????? ?-?1?
 3pq3rq OP	stuv~}*w?UW+y?UW?]M,?_N*?{:?????:-??W?????,?i:+?{:?????:??W?????,?l,?6
?????1?:?D?L?c?m?w?{?
H}??}??jOPc??1	pqL1??c
rq?*}??}??c??L1?? 5?%||J???||J???	??j???L*?*??+?cW+??	?
??
OP	?? ??	??o*?????*???*??????N?-????-??-???**??:???d??W?????-?6
???#?'?2?:?BFNQbm
4oOPo??o??#L??N???N?? ?.????
	??1*?Ͱ
??	???(???:')??*?*???cW? 
"$%%(
*(??(??(??
?? ?%?	noD*߸UW**??I?8:;
OP	??WR*߸UW*?_??*?i??`?^ ??Y??*?_???*?i?????????*?_?????????*?_???f*?i???W*?_??????L*?i??????M+??,???
+???+,???+?,+???,?*???{L+??????M?B+??????N-,?0-,???(-??,???
-??M?,-??M,??+?????,?rJP4S>WLXdZ|g?h?i?k?l?m?n?o?p??????"?1?8?;?A?E?G?P?
>ROP?A?.?ZM2??Z %
4	%?Y????2?	??r	v?Y*?	?M,,???N?Y+?	?:???::?%-??:??:?:-??
?????2?
??(?8?;?>?I?U?\?`?s?
\	vv
i ?\!"(N#?8>$";;I%U&?*
i '\!((N#'8>$(  ?>??!	)*u+?R*?,??`?/L+*?3??W*?,?6N?-???(M+,?7??W-?????+?8????7?D?M?
 RA>?7
*+?A>? ?-??	@*u+?R*?,??`?/L+*?A??W*?,?6N?-???(M+,?D??W-?????+?8????7?D?M?
 RAE?7
*+?AE? ?-??	FGuH:*?I*?J?K??
Nq	F*u+6*?O*?Q?K??
	??uS:*?_*?i?K??
OP	TUuV:*?W*?Z?K?

??	???*M?,??M,+??,?????? 
 ]^_ 	?
	`a?H*L?@+?J?
+?J?b?+??
+????+?e?f?+?e?fL??+????2,./124'537=8@:B.F?
Hk7F_7 ?f	???7*??*??*?(?
*?(?l?*??mYo?q??rYt?v?LMNOP!Q,T
7wq 	xya*?(?*?(?*??mYo?q??abcdf
wq 	z?x<*?_???*?i?????Y{??*?_???????st)v
<}P 
	~?x<*?_???*?i?????Y{??*?i?????????)?
<}P 
	?x<*?_???*?i?????Y{??*?_?????????)?
<}P 
	??x<*?_???*?i?????Y{??*?i?????????)?
<}P 
	???(*??L?
+??L+?3???+?f?
+?f??"??
????&?'?
(89!k? ?
?@f	??u?>
??Y*????

??
??	??u??'*?$*??*??????L+???????L??!"?!"?&	!"#%

 '????#???'?? b?	??u??'*?$*??*??????L+???????L??!"?!"?&	 !! ""##%(
 '????#???'?? b???3*?ϱ
35
??
??/*?լ
??
??/*?ڬ!
??????????????????
??
???




© 2015 - 2025 Weber Informatics LLC | Privacy Policy