Namespace: yWorks.yFiles.Layout
Assembly: yWorks.yFilesNET.Algorithms (in yWorks.yFilesNET.Algorithms.dll) Version: 4.1.0.1 (4.1.0.1)
Assembly: yWorks.yFilesNET.Algorithms (in yWorks.yFilesNET.Algorithms.dll) Version: 4.1.0.1 (4.1.0.1)
Syntax
| C# |
|---|
[FlagsAttribute] public enum ComponentArrangementStyles |
| Visual Basic |
|---|
<FlagsAttribute> _ Public Enumeration ComponentArrangementStyles |
Members
| Member name | Description | ||
|---|---|---|---|
| None | 0 | Style specification constant describing no special component arrangement at all. Components will be centered at the same position they resided at before the layout started. If combined with the style modifier ModifierNoOverlap components might get moved so that they don't overlap after the layout. | |
| Rows | 1 | Style specification constant describing a component arrangement strategy that tries to place components in multiple rows so that the overall aspect ratio of all components gets as close to the ratio of the preferred layout size as possible. | |
| SingleRow | 2 | Style specification constant describing a component arrangement strategy that places components next to each other in a single rows. If combined with the style modifier ModifierAsIs components will be placed in the same order as they were placed before the layout. | |
| SingleColumn | 3 | Style specification constant describing a component arrangement strategy that places components above each other in a single column. If combined with the style modifier ModifierAsIs components will be placed in the same order as they were placed before the layout. | |
| PackedRectangle | 4 | Style specification constant describing a component arrangement strategy that tries to place components like in a rectangular cloud around the biggest component. Entities of different components will not overlap, however the bounding boxes of the components may overlap. | |
| PackedCompactRectangle | 5 | Style specification constant describing a component arrangement strategy that tries to place components like in a rectangular cloud around the biggest component. Entities of different components will not overlap, however the bounding boxes of the components may overlap. In contrast to PackedRectangle components might even be placed in empty spaces inside other components. | |
| PackedCircle | 6 | Style specification constant describing a component arrangement strategy that tries to place components like in a cloud around the biggest component. Entities of different components will not overlap, however the bounding boxes of the components may overlap. | |
| PackedCompactCircle | 7 | Style specification constant describing a component arrangement strategy that tries to place components like in a cloud around the biggest component. Entities of different components will not overlap, however the bounding boxes of the components may overlap. In contrast to PackedCircle components might even be placed in empty spaces inside other components. | |
| Mask | 31 | Use this constant for masking actual styles constants from style modifiers. | |
| ModifierAsIs | 32 |
Modifier constant that can be added to normal style constants to indicate that
the arrangement strategy should take the initial positions of the components
into account.
Combining this modifier is supported with the following styles: SingleRow , SingleColumn , PackedRectangle , PackedCompactRectangle , PackedCircle , and PackedCompactCircle . | |
| ModifierNoOverlap | 64 |
Modifier constant that can be added to normal style constants to indicate that
the arrangement strategy should produce a non-overlapping component layout.
Combining this modifier is supported with None . Note that non-overlapping component layout (in the sense that no elements from adjacent components overlap) is inherently supported by the following styles: PackedRectangle , PackedCompactRectangle , PackedCircle , and PackedCompactCircle . |