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

org.eclipse.elk.alg.layered.ElkLayered.class Maven / Gradle / Ivy

????7?&org/eclipse/elk/alg/layered/ElkLayeredjava/lang/ObjectgraphConfigurator/Lorg/eclipse/elk/alg/layered/GraphConfigurator;componentsProcessor()VCode
-org/eclipse/elk/alg/layered/GraphConfigurator
	:org/eclipse/elk/alg/layered/components/ComponentsProcessor
	>org/eclipse/elk/alg/layered/compound/CompoundGraphPreprocessor
	"	
$?org/eclipse/elk/alg/layered/compound/CompoundGraphPostprocessor
#	'	)
LineNumberTableLocalVariableTablethis(Lorg/eclipse/elk/alg/layered/ElkLayered;doLayout\(Lorg/eclipse/elk/alg/layered/graph/LGraph;Lorg/eclipse/elk/core/util/IElkProgressMonitor;)V1.org/eclipse/elk/core/util/BasicProgressMonitor
0
0456withMaxHierarchyLevels3(I)Lorg/eclipse/elk/core/util/BasicProgressMonitor;8Layered layout:<;-org/eclipse/elk/core/util/IElkProgressMonitor=>begin(Ljava/lang/String;F)Z
@ABprepareGraphForLayout-(Lorg/eclipse/elk/alg/layered/graph/LGraph;)V
DEFsplit<(Lorg/eclipse/elk/alg/layered/graph/LGraph;)Ljava/util/List;HJIjava/util/ListKLsize()IHNOPget(I)Ljava/lang/Object;R(org/eclipse/elk/alg/layered/graph/LGraph
TU/layoutHWXYiterator()Ljava/util/Iterator;[]\java/util/Iterator^_next()Ljava/lang/Object;:abc
isCanceled()Z:efgsubTask2(F)Lorg/eclipse/elk/core/util/IElkProgressMonitor;[ijchasNext
lmncombine=(Ljava/util/List;Lorg/eclipse/elk/alg/layered/graph/LGraph;)V
pqBresizeGraph:stdonelgraph*Lorg/eclipse/elk/alg/layered/graph/LGraph;monitor/Lorg/eclipse/elk/core/util/IElkProgressMonitor;
theMonitor
componentsLjava/util/List;compWorkFcompLocalVariableTypeTable;
StackMapTabledoCompoundLayout
???notifyProcessorReadyX(Lorg/eclipse/elk/alg/layered/graph/LGraph;Lorg/eclipse/elk/core/alg/ILayoutProcessor;)V
??/process
???notifyProcessorFinished
??/hierarchicalLayout
#?
???collectAllGraphsBottomUpB(Lorg/eclipse/elk/alg/layered/graph/LGraph;)Ljava/util/Collection;
???&reviewAndCorrectHierarchicalProcessorsC(Lorg/eclipse/elk/alg/layered/graph/LGraph;Ljava/util/Collection;)V?java/util/ArrayList
??W?java/util/Collection	???6org/eclipse/elk/alg/layered/options/InternalProperties??
PROCESSORS,Lorg/eclipse/elk/graph/properties/IProperty;
Q???getProperty@(Lorg/eclipse/elk/graph/properties/IProperty;)Ljava/lang/Object;
???org/eclipse/elk/core/util/Pair??ofF(Ljava/lang/Object;Ljava/lang/Object;)Lorg/eclipse/elk/core/util/Pair;H???add(Ljava/lang/Object;)Z?Recursive hierarchical layout
???getProcessorsForRootGraph&(Ljava/util/List;)Ljava/util/Iterator;
???_	getSecond
???_getFirst?)org/eclipse/elk/core/alg/ILayoutProcessor?:org/eclipse/elk/alg/layered/IHierarchyAwareLayoutProcessor:??cisLoggingEnabled?java/lang/StringBuilder?Before 
???(Ljava/lang/String;)V
???getClass()Ljava/lang/Class;
???java/lang/Class??
getSimpleName()Ljava/lang/String;
????append-(Ljava/lang/String;)Ljava/lang/StringBuilder;
????toString
???%org/eclipse/elk/alg/layered/DebugUtil??
logDebugGrapho(Lorg/eclipse/elk/core/util/IElkProgressMonitor;Lorg/eclipse/elk/alg/layered/graph/LGraph;ILjava/lang/String;)V????D(Ljava/lang/Object;Lorg/eclipse/elk/core/util/IElkProgressMonitor;)V
???isRoot-(Lorg/eclipse/elk/alg/layered/graph/LGraph;)Z?FinishedgraphsLjava/util/Collection;workIgraphsAndAlgorithmsg
processors	algorithmLjava/util/Iterator;	slotIndexrootProcessorsgraphAndAlgorithm Lorg/eclipse/elk/core/util/Pair;graph	processor+Lorg/eclipse/elk/core/alg/ILayoutProcessor;BLjava/util/Collection;?Ljava/util/List;>;>;>;iLjava/util/List;>;mLjava/util/Iterator;>;?Lorg/eclipse/elk/core/util/Pair;>;>;WLorg/eclipse/elk/core/alg/ILayoutProcessor;	Signaturen(Lorg/eclipse/elk/alg/layered/graph/LGraph;)Ljava/util/Collection;java/util/ArrayDeque
	
java/util/Deque
push(Ljava/lang/Object;)V	_pop
QgetLayerlessNodes()Ljava/util/List;'org/eclipse/elk/alg/layered/graph/LNode
hasNestedGraph,(Lorg/eclipse/elk/alg/layered/graph/LNode;)Z
getNestedGraph,()Lorg/eclipse/elk/alg/layered/graph/LGraph;	 !cisEmptyrootcollectedGraphsLjava/util/Deque;continueSearchingTheseGraphs	nextGraphnode)Lorg/eclipse/elk/alg/layered/graph/LNode;nestedGraph=Ljava/util/Deque;o(Lorg/eclipse/elk/alg/layered/graph/LGraph;Ljava/util/Collection;)V	-/.2org/eclipse/elk/alg/layered/options/LayeredOptions0?CROSSING_MINIMIZATION_STRATEGY2@org/eclipse/elk/alg/layered/options/CrossingMinimizationStrategy456accepta(Lorg/eclipse/elk/alg/layered/options/CrossingMinimizationStrategy;)Ljava/util/function/Consumer;?89:forEach (Ljava/util/function/Consumer;)V	-<=?5CROSSING_MINIMIZATION_GREEDY_SWITCH_HIERARCHICAL_TYPE?4org/eclipse/elk/alg/layered/options/GreedySwitchTypeA5BU(Lorg/eclipse/elk/alg/layered/options/GreedySwitchType;)Ljava/util/function/Consumer;	parentCmsBLorg/eclipse/elk/alg/layered/options/CrossingMinimizationStrategy;rootType6Lorg/eclipse/elk/alg/layered/options/GreedySwitchType;:(Ljava/util/List;>;>;>;)Ljava/util/Iterator;>;
QIJK
getParentNode+()Lorg/eclipse/elk/alg/layered/graph/LNode;prepareLayoutTestg(Lorg/eclipse/elk/alg/layered/graph/LGraph;)Lorg/eclipse/elk/alg/layered/ElkLayered$TestExecutionState;O9org/eclipse/elk/alg/layered/ElkLayered$TestExecutionState
N	NR?{state;Lorg/eclipse/elk/alg/layered/ElkLayered$TestExecutionState;isLayoutTestFinished>(Lorg/eclipse/elk/alg/layered/ElkLayered$TestExecutionState;)Z	NXY?steprunLayoutTestUntilP(Ljava/lang/Class;ZLorg/eclipse/elk/alg/layered/ElkLayered$TestExecutionState;)V?(Ljava/lang/Class<+Lorg/eclipse/elk/core/alg/ILayoutProcessor;>;ZLorg/eclipse/elk/alg/layered/ElkLayered$TestExecutionState;)VH^_`listIterator(I)Ljava/util/ListIterator;b]cjava/util/ListIterator
ef?equalsbi	ikjjava/lang/SystemlmerrLjava/io/PrintStream;oGiven processor 
?q?r-(Ljava/lang/Object;)Ljava/lang/StringBuilder;t% not part of the remaining algorithm.
vxwjava/io/PrintStreamy?println
{|}
layoutTest>(Ljava/util/List;Lorg/eclipse/elk/core/alg/ILayoutProcessor;)VphaseLjava/lang/Class;	inclusiveZphaseExistsalgorithmIteratorLjava/util/ListIterator;
phaseIndexkLjava/lang/Class<+Lorg/eclipse/elk/core/alg/ILayoutProcessor;>;qLjava/util/ListIterator;>;O(Ljava/lang/Class;Lorg/eclipse/elk/alg/layered/ElkLayered$TestExecutionState;)V?(Ljava/lang/Class<+Lorg/eclipse/elk/core/alg/ILayoutProcessor;>;Lorg/eclipse/elk/alg/layered/ElkLayered$TestExecutionState;)V
?Z[runLayoutTestStep>(Lorg/eclipse/elk/alg/layered/ElkLayered$TestExecutionState;)V
?UV?java/lang/IllegalStateException?%Current layout test run has finished.
??getLayoutTestConfigurationM(Lorg/eclipse/elk/alg/layered/ElkLayered$TestExecutionState;)Ljava/util/List;?(Lorg/eclipse/elk/alg/layered/ElkLayered$TestExecutionState;)Ljava/util/List;>;setTestController0(Lorg/eclipse/elk/core/testing/TestController;)V[(Lorg/eclipse/elk/alg/layered/graph/LGraph;Lorg/eclipse/elk/core/alg/ILayoutProcessor<*>;)V
???+org/eclipse/elk/core/testing/TestController??notifyRootProcessorReady@(Ljava/lang/Object;Lorg/eclipse/elk/core/alg/ILayoutProcessor;)V
????.Lorg/eclipse/elk/core/alg/ILayoutProcessor<*>;
????notifyRootProcessorFinished
????:??c	isRunning?Component Layout?ELK Layered uses the following 
????(I)Ljava/lang/StringBuilder;?	 modules::??
log?0?
???java/lang/String??valueOf&(Ljava/lang/Object;)Ljava/lang/String;?   Slot ?: 
????getName
QW?'org/eclipse/elk/alg/layered/graph/Layer
???getNodesH???addAll(Ljava/util/Collection;)ZH??clear
???setLayer,(Lorg/eclipse/elk/alg/layered/graph/Layer;)V
Q??	getLayersmonitorWasAlreadyRunningmonitorProgressslotgwtDoesntSupportPrintfLjava/lang/String;layer)Lorg/eclipse/elk/alg/layered/graph/Layer;?(Ljava/util/List;Lorg/eclipse/elk/core/alg/ILayoutProcessor;)Vlgraphs	-???NODE_SIZE_CONSTRAINTS?
java/util/Set	-???NODE_SIZE_OPTIONS
Q???
getActualSize%()Lorg/eclipse/elk/core/math/KVector;?!org/eclipse/elk/core/math/KVector
???&(Lorg/eclipse/elk/core/math/KVector;)V	???+org/eclipse/elk/core/options/SizeConstraint??MINIMUM_SIZE-Lorg/eclipse/elk/core/options/SizeConstraint;????contains	-?NODE_SIZE_MINIMUM	(org/eclipse/elk/core/options/SizeOptionsDEFAULT_MINIMUM_SIZE*Lorg/eclipse/elk/core/options/SizeOptions;	?
xD@4	?y
java/lang/Mathmax(DD)D	-?NODE_SIZE_FIXED_GRAPH_SIZEjava/lang/Boolean
cbooleanValue
!"#resizeGraphNoReallyIMeanIts(Lorg/eclipse/elk/alg/layered/graph/LGraph;Lorg/eclipse/elk/core/math/KVector;Lorg/eclipse/elk/core/math/KVector;)VsizeConstraintLjava/util/Set;sizeOptionscalculatedSize#Lorg/eclipse/elk/core/math/KVector;adjustedSizeminSize>Ljava/util/Set;;Ljava/util/Set;	-./?CONTENT_ALIGNMENT	132-org/eclipse/elk/core/options/ContentAlignment45H_CENTER/Lorg/eclipse/elk/core/options/ContentAlignment;
Q78?	getOffset@	1<=5H_RIGHT	1?@5V_CENTER	1BC5V_BOTTOM	?EF?GRAPH_PROPERTIES	HJI3org/eclipse/elk/alg/layered/options/GraphPropertiesKLEXTERNAL_PORTS5Lorg/eclipse/elk/alg/layered/options/GraphProperties;
NOPgetType4()Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;	RTS0org/eclipse/elk/alg/layered/graph/LNode$NodeTypeUV
EXTERNAL_PORT2Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;	?XY?
EXT_PORT_SIDE
?\%org/eclipse/elk/core/options/PortSide	[^_`EAST'Lorg/eclipse/elk/core/options/PortSide;
bc?getPosition	[ef`SOUTH
Qhij
getPadding.()Lorg/eclipse/elk/alg/layered/graph/LPadding;
Qlm?getSize	oqp*org/eclipse/elk/alg/layered/graph/LPaddingrleft	oturight	owxtop	oz{bottomoldSizenewSizecontentAlignmentextPortSidelPadding,Lorg/eclipse/elk/alg/layered/graph/LPadding;@Ljava/util/Set;lambda$0o(Lorg/eclipse/elk/alg/layered/options/CrossingMinimizationStrategy;Lorg/eclipse/elk/alg/layered/graph/LGraph;)V?.org/eclipse/elk/core/UnsupportedGraphException?The hierarchy aware processor ? in child node ?L is only allowed if the root node specifies the same hierarchical processor.
??childchildCmslambda$1c(Lorg/eclipse/elk/alg/layered/options/GreedySwitchType;Lorg/eclipse/elk/alg/layered/graph/LGraph;)V
Q???setPropertyt(Lorg/eclipse/elk/graph/properties/IProperty;Ljava/lang/Object;)Lorg/eclipse/elk/graph/properties/MapPropertyHolder;
SourceFileElkLayered.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;?
????B
????BInnerClasses?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookupTestExecutionStateNodeTypeNestMembers1	

x6*?*?Y??*?Y??*?Y? ?!*?#Y?%?&*?(?*flnp%r0t5f+6,-./??,N-??0Y?2?3N-7?9W*?+??*?+?C:?G?*?M?Q-?S?I?G?n8?V:?'?Z?Q:,?`??*-?d?S?h???*?+?k*+?o-?r?*N?????$?.?9?I?L?X?p?y?z???????????+H?,-?uv?wx?yx.zz{X:|}p~v.zz??w?:?9H?Q::H[?Q::HQ[?
Q::H[?	Q::H?/?q,N-??0Y?2?3N-7
?9W*+*?!??*?!+-?d??*+*?!??*+-?d??*+*?&??*?&+-?d??*+*?&??-?r?*6
?????%?4?=?I?R?a?j?p?+*q,-quvqwxoyx??:?/;
?*+??N*+-??6??Y??:-??:?I?Z?Q:*????????H:?G`6?V:		????W?h???,???9W6*??:???V:	??	?Z??:???[:
???Q:??
?Z??:???Q,???",??Yȷ??ͶѶ׶۸?*??,?d??*????Z*??[,???",??Yȷ??ͶѶ׶۸?*??,?d??*????

?h??@	?h???h???,???,+??,?r?*?.?????/?8?E?Q?Z?i?s??????????????????????????????'05LOW
goru?????? ?$?%+??,-?uv?wx????????{/:?vE$?{Z??	?*???"??????????
???v????R??????E$??Z?	?"???????
??????#Q:?H[?E?#Q:?H[?
Q:?H[[?"Q:?H[?[[Q?;?%0?%?	
Q:?H[[?	Q:?H[??q|?Y?M?Y?N,+?-+??S-??Q:??V:?/?Z?:*???:,?-??h???-????,?*:01235!6,7G8P9W:_;g7q5z?+H|,-|"vt#$l%$,E&vG '(W)vt#*l%*?9?!		?Q		Q[+?	Q		??+?1+?,???1N,-?3?7+?;???>:,?@?7?*"NOZ!Y#[$\+[0]+41,-1"v1??&CD#EF1????G^++?Gd?M?????[?*a+,-?{????H+?H???*e+,-?v?	H+????*i+,-'(?	LMh?NY?PM*?+??,*?+?C?Q,?*????+ ,-uvSTUV?.+?Q?M?QM,?????HN-?+?W-?G???*???+*.,-.ST ?v?{????,QHZ[\??-?Q?M?Q?????H:6-?W?]:-?W6?'?a????+?d?6?????g????? ?h??Yn??+?ps?׶۶u-?W?]:?*-?Q?a???z-Y?W`?W-?W??ޱ*N???(?.?1?E?H?L?O?R?U?d?i???????????+R?,-?~????ST??{???(???.??? ?~????(????!?1?NHb !Z??\*+,???*
??+ ,-~ST~????J*+?????Y????+?Q?M?Q?????HM*+?Q,+?W?M???z+Y?W`?W?*???*???I?+ J,-JST* ?{* ??????K+?Q?M?Q?????H?*	+,-ST??>*+?(?*
+,-
????%*?(? *+??*?(+,???*?(+,???*$!+ %,-%uv%??%???????%*?(? *+??*?(+,???*?(+,???*()*+,$/+ %,-%uv%??%???U/X
?,??>?,??9W+?????H:?G?n8,????,??Y????G????׶۹?6?V:?_?Z??:??Y
?	????????????:	,??Y·?	??Ķ??Ͷƶ׶۹??h???6?V:?a?Z??:,?`??,???!,+??Yȷ??ͶѶ׶۸?*+??+,?d??*+????h???,???,+??+??:?(?Z??:+??̹?W?̹??h???+??V:??Z?:???h???+?ڹ??	,?r?*?$<=>A"B.D7FZG]HuJ?K?H?P?Q?R?S?X?Y]"^2_9a<QFfOgXmmn|o?m?r?s?r?v?x?y?{+?
?,-?uv?wx???"??{.??}]r??uP???)??	?????R??m???'( "???uP??R??0??R	Q:H[?	Q:H?[uu?	Q:H?[uu??;	Q:H[?	Q:H?	Q:H[?	Q:H?[&? 	Q:H[?Q:H?	Q:H[$?Q:H|}??;+?V:?(?Z?QN*-,??,-?0Y?2??*-,???h??Ա*???*?0?:?+*;,-;?{;??uv;??;???H?[$qB??+?????M+?????N+??:??Y??:,?????c+?????:-????'?	??
?	???
??	?	??	????+??????*+? ?*B????'?3???K?U?]?g?o?????????+H?,-?uv?$%?&%?'('?)(?T*(?$+?&,?#?]Q??????#"#?+?-????:-?	,?	??N?0???+?6Y?	-?	,?	g9oc?	?%?;???+?6Y?	-?	,?	gc?	-?,???N?>???+?6Y?-?,?g9oc??%?A???+?6Y?-?,?gc?+?D????G????-?	,?	??-?,???~+??V:?f?Z?:?M?Q?O?W?Z?[:?]??aY?	-?	,?	gc?	?!?d??aY?-?,?gc??h???+?g:+?k-?	?ng?sg?	+?k-??vg?yg??*v?
???%?>?N?c?o?|????????????????????!?7?B?X?b?h????+R?,-?uv?|(?}(?~%W'(?`h/???~??u	?A?!4!,?
Q???[?DQ???[[?Q???[?	Q???
???:+?,???1M,*?,??Y??Y???,?p???+?p??׶۷???*Q
PRS(T5S9V+:?v.?D?9
??3	+?;*???*\+	?v???????????????N?	R?@?N




© 2015 - 2024 Weber Informatics LLC | Privacy Policy