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

org.eclipse.elk.alg.layered.p4nodes.LinearSegmentsNodePlacer.class Maven / Gradle / Ivy

????7=;
INPUT_PRIO+Lorg/eclipse/elk/graph/properties/Property;@Lorg/eclipse/elk/graph/properties/Property;OUTPUT_PRIOlinearSegmentsM[Lorg/eclipse/elk/alg/layered/p4nodes/LinearSegmentsNodePlacer$LinearSegment;spacings.Lorg/eclipse/elk/alg/layered/options/Spacings;THRESHOLD_FACTORD
ConstantValue@4PENDULUM_ITERSIFINAL_ITERSOVERLAP_DETECT?6??C-$assertionsDisabledZ()VCode
&('java/lang/Class)*desiredAssertionStatus()Z	, !
.0/5org/eclipse/elk/core/alg/LayoutProcessorConfiguration12create9()Lorg/eclipse/elk/core/alg/LayoutProcessorConfiguration;	465)org/eclipse/elk/alg/layered/LayeredPhases78P5_EDGE_ROUTING+Lorg/eclipse/elk/alg/layered/LayeredPhases;	:<;Forg/eclipse/elk/alg/layered/intermediate/IntermediateProcessorStrategy=>$HIERARCHICAL_PORT_POSITION_PROCESSORHLorg/eclipse/elk/alg/layered/intermediate/IntermediateProcessorStrategy;
.@AB	addBefore{(Ljava/lang/Enum;Lorg/eclipse/elk/core/alg/ILayoutProcessorFactory;)Lorg/eclipse/elk/core/alg/LayoutProcessorConfiguration;	DF)org/eclipse/elk/graph/properties/PropertyHlinearSegments.inputPrio
JLKjava/lang/IntegerMNvalueOf(I)Ljava/lang/Integer;
EPQR'(Ljava/lang/String;Ljava/lang/Object;)V	TVlinearSegments.outputPrio	XLineNumberTableLocalVariableTable
StackMapTable
]Q#this>Lorg/eclipse/elk/alg/layered/p4nodes/LinearSegmentsNodePlacer;getLayoutProcessorConfigurationc(Lorg/eclipse/elk/alg/layered/graph/LGraph;)Lorg/eclipse/elk/core/alg/LayoutProcessorConfiguration;?(Lorg/eclipse/elk/alg/layered/graph/LGraph;)Lorg/eclipse/elk/core/alg/LayoutProcessorConfiguration;	dfe6org/eclipse/elk/alg/layered/options/InternalPropertiesghGRAPH_PROPERTIES,Lorg/eclipse/elk/graph/properties/IProperty;
jlk(org/eclipse/elk/alg/layered/graph/LGraphmngetProperty@(Lorg/eclipse/elk/graph/properties/IProperty;)Ljava/lang/Object;p
java/util/Set	rts3org/eclipse/elk/alg/layered/options/GraphPropertiesuvEXTERNAL_PORTS5Lorg/eclipse/elk/alg/layered/options/GraphProperties;oxyzcontains(Ljava/lang/Object;)Zgraph*Lorg/eclipse/elk/alg/layered/graph/LGraph;process\(Lorg/eclipse/elk/alg/layered/graph/LGraph;Lorg/eclipse/elk/core/util/IElkProgressMonitor;)V?Linear segments node placement???-org/eclipse/elk/core/util/IElkProgressMonitor??begin(Ljava/lang/String;F)Z	d??hSPACINGS?,org/eclipse/elk/alg/layered/options/Spacings	?
???sortLinearSegments?(Lorg/eclipse/elk/alg/layered/graph/LGraph;Lorg/eclipse/elk/core/util/IElkProgressMonitor;)[Lorg/eclipse/elk/alg/layered/p4nodes/LinearSegmentsNodePlacer$LinearSegment;
???createUnbalancedPlacement-(Lorg/eclipse/elk/alg/layered/graph/LGraph;)V
???balancePlacement
???postProcess	????#donelayeredGraphmonitor/Lorg/eclipse/elk/core/util/IElkProgressMonitor;
???com/google/common/collect/Lists??newArrayList()Ljava/util/ArrayList;
j???iterator()Ljava/util/Iterator;???java/util/Iterator??next()Ljava/lang/Object;?'org/eclipse/elk/alg/layered/graph/Layer
???'org/eclipse/elk/alg/layered/graph/LNode	???id?
????getPorts()Ljava/util/List;???java/util/List?'org/eclipse/elk/alg/layered/graph/LPort
????getIncomingEdges?'org/eclipse/elk/alg/layered/graph/LEdge	???2org/eclipse/elk/alg/layered/options/LayeredOptions?hPRIORITY_STRAIGHTNESS
?l
J???intValue()I
???java/lang/Math??max(II)I???*hasNext
????getOutgoingEdges
????setPropertyt(Lorg/eclipse/elk/graph/properties/IProperty;Ljava/lang/Object;)Lorg/eclipse/elk/graph/properties/MapPropertyHolder;?Jorg/eclipse/elk/alg/layered/p4nodes/LinearSegmentsNodePlacer$LinearSegment
?]	??
???fillSegmentx(Lorg/eclipse/elk/alg/layered/graph/LNode;Lorg/eclipse/elk/alg/layered/p4nodes/LinearSegmentsNodePlacer$LinearSegment;)Z???zadd????size
????newArrayListWithCapacity(I)Ljava/util/ArrayList;?java/util/ArrayList
?]
???createDependencyGraphEdges?(Lorg/eclipse/elk/core/util/IElkProgressMonitor;Lorg/eclipse/elk/alg/layered/graph/LGraph;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V??toArray(([Ljava/lang/Object;)[Ljava/lang/Object;[Ljava/util/List;?get(I)Ljava/lang/Object;?
remove?
*isEmptyjava/lang/AssertionError
]	?nodesLjava/util/List;segmentListlayer)Lorg/eclipse/elk/alg/layered/graph/Layer;node)Lorg/eclipse/elk/alg/layered/graph/LNode;inpriooutprioport)Lorg/eclipse/elk/alg/layered/graph/LPort;edge)Lorg/eclipse/elk/alg/layered/graph/LEdge;prionextLinearSegmentIDsegmentLLorg/eclipse/elk/alg/layered/p4nodes/LinearSegmentsNodePlacer$LinearSegment;outgoingListincomingCountListisegmentsoutgoing
incomingCount[InextRank
noIncomingnewRankstargetlsrankLocalVariableTypeTable^Ljava/util/List;pLjava/util/List;>;%Ljava/util/List;+O(Lorg/eclipse/elk/core/util/IElkProgressMonitor;Lorg/eclipse/elk/alg/layered/graph/LGraph;Ljava/util/List;Ljava/util/List;>;Ljava/util/List;)V
?9:?getNodes	?<=indexInLastLayer??@AlistIterator(I)Ljava/util/ListIterator;	?CD	lastLayer?FGHset'(ILjava/lang/Object;)Ljava/lang/Object;?Jz
?LMNsplitx(Lorg/eclipse/elk/alg/layered/graph/LNode;I)Lorg/eclipse/elk/alg/layered/p4nodes/LinearSegmentsNodePlacer$LinearSegment;?PQ*isLoggingEnabled
SUT%org/eclipse/elk/alg/layered/DebugUtilVW
logDebugGraph|(Lorg/eclipse/elk/core/util/IElkProgressMonitor;Lorg/eclipse/elk/alg/layered/graph/LGraph;Ljava/util/List;Ljava/util/List;)V
layerIndexnodeIterLjava/util/Iterator;indexInLayerpreviousNodecurrentNodecurrentSegmentcycleSegmentcycleNodesIter	cycleNodenextNodenextSegment;Ljava/util/List;?Ljava/util/Iterator;
?ghigetType4()Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;	?klmnodeType2Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;	oqp0org/eclipse/elk/alg/layered/graph/LNode$NodeTyperm	LONG_EDGE	otumNORTH_SOUTH_PORT
?wxygetSuccessorPorts()Ljava/lang/Iterable;{?|java/lang/Iterable
?~?getNode+()Lorg/eclipse/elk/alg/layered/graph/LNode;
????getLayer+()Lorg/eclipse/elk/alg/layered/graph/Layer;
sourcePort
targetPort
targetNodetargetNodeType
j???	getLayers
????getIndex	???hSPACING_EDGE_EDGE?java/lang/Double
????doubleValue()D
????getVerticalSpacingU(Lorg/eclipse/elk/alg/layered/graph/LNode;Lorg/eclipse/elk/alg/layered/graph/LNode;)D
????getSize%()Lorg/eclipse/elk/core/math/KVector;	???!org/eclipse/elk/core/math/KVector?y
????(DD)D
????getPosition
????	getMargin-()Lorg/eclipse/elk/alg/layered/graph/LMargin;	???)org/eclipse/elk/alg/layered/graph/LMargin?top
??	???bottom	nodeCountrecentNodeType3[Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;
recentNode*[Lorg/eclipse/elk/alg/layered/graph/LNode;uppermostPlacespacing??	???h3NODE_PLACEMENT_LINEAR_SEGMENTS_DEFLECTION_DAMPENING	???hTHOROUGHNESS	???Aorg/eclipse/elk/alg/layered/p4nodes/LinearSegmentsNodePlacer$Mode??
FORW_PENDULUMCLorg/eclipse/elk/alg/layered/p4nodes/LinearSegmentsNodePlacer$Mode;A?????	????BACKW_PENDULUM	???$
refSegment
???calcDeflectionR(Lorg/eclipse/elk/alg/layered/p4nodes/LinearSegmentsNodePlacer$LinearSegment;ZZD)V	???
deflection
????abs(D)D
???mergeRegions-(Lorg/eclipse/elk/alg/layered/graph/LGraph;)Z
????regionN()Lorg/eclipse/elk/alg/layered/p4nodes/LinearSegmentsNodePlacer$LinearSegment;	????RUBBERdeflectionDampeningthoroughness
pendulumIters
finalIters	thresholdreadymodelastTotalDeflectionincomingtotalDeflectionmerged
?l
??
????	getAnchor
????	getTarget+()Lorg/eclipse/elk/alg/layered/graph/LPort;
??	getSource	?weightsegmentDeflection
nodeWeightSumnodeDeflection
edgeWeightSum	inputPrio
outputPriominPrioportpos	otherPort	otherNode	otherPrio	?hSPACING_NODE_NODEchangednodeSpacingnode1region1node2region2node1Extentnode2Extent	weightSum
??
??min@minRoomAboveminRoomBelow	roomAbove	roomBelowindexneighborminDisplacement
foundPlace	firstNodepossourcedlastNodeD(Ljava/lang/Object;Lorg/eclipse/elk/core/util/IElkProgressMonitor;)V
1}~K(Ljava/lang/Object;)Lorg/eclipse/elk/core/alg/LayoutProcessorConfiguration;
4`a
SourceFileLinearSegmentsNodePlacer.java?Ljava/lang/Object;Lorg/eclipse/elk/core/alg/ILayoutPhase;InnerClassesNodeType
LinearSegmentModeNestMembers1
	
	
	
 !"#$?@?%???+?-?3?9???C?EYG?I?O?S?EYU?I?O?W?Y6
:??????#?)?/?3?9???Z[@Q#$/*?\?Y:Z^_`a	b$`+?c?i?o?q?w??C??Y???Z^_{|[}~$??,??W*+???i????*+,??W*+??*+??*+??*??*??,???Y*
?
???$?)?.?3?8?>?Z ?^_??|?????$$O??N+??:??????:??:??????:???6?6	????:??????:

?ƹ?:
?(
????:?˶??J??6??6
?????
?޹?:
?(
????:?˶??J??6	??6	
?????????q?S?I??W?W	?I??W????"????6+??:?\????:??:?<????:???(??Y??:		???*	??W-	??W??????????-????:-????:6?!??Y????W?I??W?-?????*,+-??--??????:???¹??:???
:	6
?	

??J??O?

	????6
??:6?	.?2??W???????
:?d?	??:

??
?
O?7
??2?	??:	??\.dO	??.?
??W
??2????????*????6
?k?+?
2???Y??
2:
.6*??S?????:?????:???????

????*???YG???/?5?=?X?s????????????????????????&?<?D?M?W?`?i?s?}?????????	??'*/5=JU\_l y"|#?$?&?'?"??-?.?/?0?1234.554?.J9ZV"O^_O?|O??K?/?9?=?	X|
s ?	!? ?	!>"&M<-M#$	??%??&?,'?n(?X)M*+	"'
*%,
/ -2#'\?.+lT#$
?!/$?s'
?C0$<1.2*K3??%4??&5/ -3[?
j????j??????(j????????j?????????$$?	j????????%j??????	j????j????	j?????8?	j????%j?????Pj????6???
j????6?6??3???,j????6?6???j????6?6??	7$?-??66,??:	??	????:?8:

????
??:6:
????::??-?????:?;?:?8`?>:??????:-?????:?B?B??;?;??:???????
?>??????J??d?I?EW
??????IW??K:-??W??Y????W
?)
???????W?I??W??I??W:???Z????:-?????:???????W??????J??`?I?EW?B??;:
:??k?	????+?O?+,-?R?Y?8abc d'e1g4j=k@nCqOrRtUve~mp?u?~???????????????????????????????%?4?9?P?\?_?k?n?x????????????????t???c????Z?^_???|%&"X ?'?
=?YZ@?[C?\
O?]R?^$p?_$??`Z?0anzb?;c$2>3%4&5'?d
=?Ye??`e[??
?j??????j??????? ?j???????????-???8??	?D?P??c???
?j??????j?????$ 
?+?fN+????+,???,?+??W,-?j-?n?
-?s??+????:?j????:?v?z:?E????:?}:?f:	+?????	?n?	?s?*,??????????????YR?????!?&?-?4?N?i?p?w???????????????ZR?^_??#$?lmN[?i6?p/?w(?m	[??o%?
??o????o????5
??o?????o???o????	??o??	??o??$?@+?????
M+?????oN+??????:*??Y:?66?2:9	???:?d????:????6
,
\.`O+???i????9,
.?
2?*??
2??9	??????c??9	????????:?d????:??	????c????:

??	????c????c????c??-
???fS
??S??????????Yf	
'
>A\fn}?????"?$?'?()(+!,+"5
?/Zz@^_@?|4?+'??'??>?#$A??	\UfKX
}4??U?;
[??7	j6???j6?????Kj6??????j6?????`?	j6????$5?+???i????I+?Ķi?J??666?o96	??:
?9
?ϥ?6

?ǥ?69*??Y:?66?+2:??*
(???ٸ?c9????*+??6???*??Y:?66?R2:???9??7???:?????:??Y??c??????ބ???
?ǥ
?ϦH??? ??t???:
?9?I
?Ǧ??:
9?5??:
9?)??g???6	9	???	???????Y?3OPO
P
OST U#V,Y/Z4[9_H`WaZbqcwd?e?b?k?l?o?p?q?r?s?royz{+|3}8~=H?M?Q?T?Y?]?`?h?o?z?~??????\??Z??^_??|??t? q?#n?,e?/b?!	4]??
9X?H>?!
W/)!Z,?q#$???!?E#$?;??[?9
j?@?
@?j?'?
j??j??&j????	j??j?@?

j???$b796+???:
??
????:	96
?	?S???J?ѧ?6?	?W???J?ѧ?6??6	????:?}????:	????????c????c9???޹?:??????:??:?}:+*????2?g?S???J???W???J?Ѹ?6?˶??J??6?/?(????????c????cgc9?
????m???ƹ?:??????:??:?}:+*????2?g?S???J???W???J?Ѹ?6?˶??J??6?/?(????????c????cgc9?
????m????
?
?oc9?
?????+k?o??+??
+??+??Y?<??? ?#?&???X?a?|??????????????????????$?%?-?.?0?4?7?A?E?`?g?n?|?????????????????????????????????????#?)?,?1?6?Z?7^_7#$7?!7)!7?41 ?	#?&?
??	X?
a?|n?R?? ?y
?r?C3!`? gy
nr?C?3![?	???&???A?A??????:?????????	???????????????	?????	???$?	??$2>=+??i????J)k9+??:?????:?8??:		????:
*??
??2??:??	????:*????2??:

??*??
??9
????
????c
????c??cc9????????g
??c9c??U?
?`6?+???Y??

??
??k????kc?o??
?
??=:

:	????'??????Y?$????,?8?D?S?V?b?q?x???????????????????	?

	
 $(?2?<Z?>^_>?|<!.'?,8?YZ	D?
S?$b?q?$
????v?]?E28?Ye	[?? j??5
j???????j????????1j?????????	j???$K2*??Y:?6>?2M?9?9,???:?????:

?6?Z
???8d???:*??
??9
????
????g????????c????ccg9?
????
????g9?9
???8??d?Z
???8`???:*??
??9????????g
????
????c
????ccg9? 
????k9?9??????9
6,????:

????:??????:
????????c????c9?ƹ?:?d????:??:?}????????c????cg9??
?ܘ?!???????
9
6?????????W,?,???d???:????:??????:????????c????c9?޹?:?d????:??:?}????????c????cg9??
?ܘ?!???????
9
6?????????W?=
??6,???:?????:??Y??
c??????ބ???YG&')8+?.D/Z0g1x2?3?2?3?2?1?4?5?7?;?<?=?>??@?@?>A"B0D9)CGHHKKZLuM?N?O?P?Q?P?Q?P?R?S?T?UNL[.\I]e^?_?`?a?`?a?`?b?c?d?e?^?\?k?lml(&1qZ.2^_2?|#$"
#8
?$??$%0	%??&Z>'g1??>'?1?H?(
K?)!Z?*
u?/?z+?U ?N,?,-.?.I?,ez+?U ?N/?,-[??j?
j???nj????j????s?

j????
j???/
j????6j??????Sj????????j????????
j??????	
j????1j?????6j???????Sj?????????j?????????
j???????	j????#?	jA}/$*
*+?j,?0?YZA`2$)	*+?j?3?YZ56	78o?9@?:	?;@<??




© 2015 - 2025 Weber Informatics LLC | Privacy Policy