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

org.eclipse.elk.alg.layered.components.ComponentGroupGraphPlacer.class Maven / Gradle / Ivy

????7I@org/eclipse/elk/alg/layered/components/ComponentGroupGraphPlacer:org/eclipse/elk/alg/layered/components/AbstractGraphPlacercomponentGroupsLjava/util/List;	SignatureILjava/util/List;$assertionsDisabledZ()VCode
java/lang/ClassdesiredAssertionStatus()Z		
LineNumberTableLocalVariableTable
StackMapTable

com/google/common/collect/Lists !newArrayList()Ljava/util/ArrayList;	#thisBLorg/eclipse/elk/alg/layered/components/ComponentGroupGraphPlacer;combine=(Ljava/util/List;Lorg/eclipse/elk/alg/layered/graph/LGraph;)Vi(Ljava/util/List;Lorg/eclipse/elk/alg/layered/graph/LGraph;)V*,+java/util/List-clear*/01contains(Ljava/lang/Object;)Z3java/lang/AssertionError
2
687(org/eclipse/elk/alg/layered/graph/LGraph9:getLayerlessNodes()Ljava/util/List;*<=isEmpty
6?@AgetSize%()Lorg/eclipse/elk/core/math/KVector;	CED!org/eclipse/elk/core/math/KVectorFGxD	CIJGy*LMNget(I)Ljava/lang/Object;
6PQRcopyPropertiesh(Lorg/eclipse/elk/graph/properties/IPropertyHolder;)Lorg/eclipse/elk/graph/properties/MapPropertyHolder;*TUViterator()Ljava/util/Iterator;XZYjava/util/Iterator[\next()Ljava/lang/Object;
^_`addComponent-(Lorg/eclipse/elk/alg/layered/graph/LGraph;)VXbchasNext
C	fhg2org/eclipse/elk/alg/layered/options/LayeredOptionsijSPACING_COMPONENT_COMPONENT,Lorg/eclipse/elk/graph/properties/IProperty;
6lmngetProperty@(Lorg/eclipse/elk/graph/properties/IProperty;)Ljava/lang/Object;pjava/lang/Double
orstdoubleValue()Dv5org/eclipse/elk/alg/layered/components/ComponentGroup
xyzplaceComponents](Lorg/eclipse/elk/alg/layered/components/ComponentGroup;D)Lorg/eclipse/elk/core/math/KVector;
u|}~
getComponents()Ljava/util/Collection;
???offsetGraphs(Ljava/util/Collection;DD)V	f??jCOMPACTION_CONNECTED_COMPONENTS?java/lang/Boolean
???booleanValue	f??jEDGE_ROUTING	???(org/eclipse/elk/core/options/EdgeRouting??
ORTHOGONAL*Lorg/eclipse/elk/core/options/EdgeRouting;
6??A	getOffset
???offsetGraph/(Lorg/eclipse/elk/alg/layered/graph/LGraph;DD)V?:org/eclipse/elk/alg/layered/components/ComponentsCompactor
?
????compact7(Ljava/util/List;Lorg/eclipse/elk/core/math/KVector;D)V
C??Areset
??
C???addH(Lorg/eclipse/elk/core/math/KVector;)Lorg/eclipse/elk/core/math/KVector;
???AgetGraphSize
???
moveGraphsE(Lorg/eclipse/elk/alg/layered/graph/LGraph;Ljava/util/Collection;DD)V
componentstarget*Lorg/eclipse/elk/alg/layered/graph/LGraph;firstComponent	componentoffset#Lorg/eclipse/elk/core/math/KVector;componentSpacinggroup7Lorg/eclipse/elk/alg/layered/components/ComponentGroup;	groupSizeh	compactor;
u???-(Lorg/eclipse/elk/alg/layered/graph/LGraph;)Z
u?`*??1	???%org/eclipse/elk/core/options/PortSide??
SIDES_NONELjava/util/Set;
u?}?'(Ljava/util/Set;)Ljava/util/Collection;
???placeComponentsInRows<(Ljava/util/Collection;D)Lorg/eclipse/elk/core/math/KVector;	????SIDES_NORTH
???placeComponentsHorizontally	????SIDES_SOUTH	????
SIDES_WEST
???placeComponentsVertically	????
SIDES_EAST	????SIDES_NORTH_WEST	????SIDES_NORTH_EAST	????SIDES_SOUTH_WEST	????SIDES_EAST_SOUTH	????SIDES_EAST_WEST	????SIDES_NORTH_SOUTH	????SIDES_NORTH_EAST_WEST	????SIDES_EAST_SOUTH_WEST	??SIDES_NORTH_SOUTH_WEST	??SIDES_NORTH_EAST_SOUTH	??SIDES_NORTH_EAST_SOUTH_WEST
	
!org/eclipse/elk/core/math/ElkMath
maxd([D)DspacingsizeCsizeNsizeSsizeWsizeEsizeNWsizeNEsizeSWsizeSEsizeWEsizeNSsizeNWEsizeSWEsizeWNSsizeENSsizeNESWcolLeftWidthcolMidWidth
colNsWidth
colRightWidthrowTopHeightrowMidHeightrowWeHeightrowBottomHeight
componentSizeh(Ljava/util/Collection;D)Lorg/eclipse/elk/core/math/KVector;*T+java/util/Collection
-/.java/lang/Math01max(DD)DLjava/util/Collection;sizeBLjava/util/Collection;*<
-789sqrt(D)D	f;<jASPECT_RATIO
C>?(DD)VmaxRowWidth	totalAreaxposypos
highestBoxbroadestRowgraph
SourceFileComponentGroupGraphPlacer.java 	

<?????4@
>*?*??"?4<4$%&'(
?
?*?"?)??+,?.??2Y?4?,?5?)+?;?,?>?B,?>?H?+?K?6N,-?OW+?S:??W?6:*?]?a???CY?d:-?e?k?o?q9*?"?S:?J?W?u:*?w:	*?{?B?H?Y?B	?Bc?BY?H	?Hc?H?a???,?>?Bg?B,?>?Hg?H-???k??????-???k????+?S:?%?W?6:*???B???H???a??׻?Y??:+,?>??+?S:	? 	?W?6:????????W	?a???,?>??????W*?"?S:??W?u:*,?{???a????%C	D!E*H3I;JCKDOOPUSlTrS|X?Y?[?]?^?a?b?[?ghk!m.qEr[qeunvzz?{?z??????????
?$%?????O???l???h???Y?G?;???1??	E??nN?????????????
!"?*66X?/*66CX?F?O!?)	*66C?X?*66C?
*66CX_`
?<*?"?SN?-?W?uM,+????-?a???*?"?uY+?Ĺ?W???? ?)?;? <$%<??	???
6Xyz
k%O*+?ȶ?(??:*+?ն?(??:*+?۶?(??:*+?޶?(??:*+???(??:*+???(??:	*+???(??:
*+????(??:*+???(??:*+???(??:
*+????(??:*+????(??:*+????(??:*+????(??:*+???(??:*+???(??:?Y	?BRY?BRY?BRY?BR?9?Y?BRY?BRY?BRY?BR?9?B9?Y
?BRY?BRY?BRY?BR?9?Y	?HRY?HRY
?HRY?HR?9?Y?HRY?HRY?HRY?HR?9
?H9 ?Y?HRY?HRY?HRY?HR?9"*+?ȶ?c c?*+???c c?*+?ն?c?*+?۶?c cc?*+?޶? c?*+???cc c?*+???cc?*+???? cc?*+???cc cc?*+????*+?????*+???? cc?*+???cc??CY?d:$$?YcccRY
?BRY?BRY?BR??B$?Yc c"cRY?HRY?HRY?HR??H$??z??	??????%?*?+?3?8?9?A?F?G?O?T?U?]?b?c?k?p?q?y?~???????????????????????????????????????????0?7?_??????????????????????????!?&?.?1?9?:???B?J?R?W?Z?b?j?k?n?v?w???????????????	?
??	??
??????"08@FLO$%O??OGA?3?*%?8?F	?T??	b??
p??~?????
?????????????}??o?GG0 G7!G_?"G??#G??$G??%G ?q&G"?e'?$??(
,w?CY?d:+?):?D?W?6:*?B??Y?B?>?B(cc?B?H?>?H?,?H?a????H??Y?H(c?H?&	+	. /,1@2U._6i7t:4w$%w?2wG	n3? 5???w?4+?*CX?@?*C??(
,w?CY?d:+?):?D?W?6:*?H??Y?H?>?H(cc?H?B?>?B?,?B?a????B??Y?B(c?B?&	G	J K,M@NUJ_RiStV4w$%w?2wG	n3? 5???w?4+?*CX?@?*C??(
?+?5??CY?d?99+?):	?2	?W?6:?>:

?B?,9
?B
?Hkc9	?a????6??+?)?W?6?:?k?o?qk?,999
9(9+?):?d?W?6:?>:?Bc??9
(cc9
9*
???Bc?,9?H?,9?B(cc9?a????CY(c
c(c?=?ff	gklm.n5oApQm[sdts?w?x?y?{?}?~??????????x??
$%?2G@GAG.#??5'?
??BG??CG
??DG??EG?UF??N3???4e?*X.?I*X?/*6XC?0*XGH




© 2015 - 2025 Weber Informatics LLC | Privacy Policy