When you are organizing things in your diagram there are three options available to you for indicating associations: Areas, Groups, and Layers. It can sometimes be difficult understanding which you should choose. This article explains the differences and why you might choose one over the other.
How Areas Behave
- An icon, image, or text box can be a part of more than one Area if the Areas overlap.
- The contents of an Area are defined by what is within the borders of the Area
- You can freely resize and move areas.
- A special handle is provided in the top right corner of an Area that allows for quickly moving and Area and its contents together.
- Areas have a transparent background, a dashed border, and an editable title.
When to Use Areas
Areas are commonly used to group items together that are geographically related. You can use Areas to filter your inventory to see items relevant to a specific geographic location. You can also Pin Diagrams in a Document to an Area so that if you move or adjust the Area in your Diagram, the Document will always remain focused on the Pinned Area.
How To Use Areas
- Use the Area tool to click and drag a box where you would like the Area to be.
- Resize the Area to be the size that you desire. At least big enough to contain the contents that you want to fit in the Area.
- Change the contents of the Area by moving the Area, resizing the Area, or moving items in or out of the bounds of the Area
- Use the corner handle of an Area to quickly move both the Area and its contents
How Groups Behave
- An icon, image, or text box can be part of only one group.
- You can nest groups, one inside another.
- The size of a group cannot be managed manually. Is adjusts automatically to fit around its contents.
- Groups have a semi-transparent background, a solid border, and an editable title.
- Groups cannot exist without having some contents. Deleting the last item in a Group will cause the Group to also be deleted.
When To Use Groups
Groups are useful when you want to visually mark one or more items with a semi-transparent background and a title or make it easy to keep a set of items together.
How To Use Groups
- Create a Group by selecting the items to be part of the Group, then right-click on one of the selected items, and select Group from the options in the context menu.
- Remove something from a Group be selecting one or more items that are currently in Groups, then right-click on one of the selected items and select Ungroup from the options in the context menu.
- Move a Group and its contents by clicking and dragging the Group.
- Deleting a Group will delete both the Group and its contents
- Ungrouping a Group will delete only the Group
How Layers Behave
- An icon, image, or text box can be part of more than one Layer.
- Areas and Groups may also be added to Layers.
- Layers have no size. They are an abstract container for items.
- Individual Layers can be turned on and off in order to hide the contents of the Layer from being visible.
When To Use Layers
There are certain situations when Groups and Areas do not provide the flexibility you need. Most notably, if you want to relate two or more items in your diagram and it makes the most sense for them to be visually separate, a Group or Area may inadvertently capture more items than you intend. Layers can be used as a tag that you can later use to change the visibility of all items with a specific tag. Layer visibility can also be used in Documents to hide certain elements in your Diagram from customers that are viewing the Document.
How To Use Layers
- You can create a Layer at any time by using the layer button in the bottom left corner of the Diagram.
- Add and remove items from Layers by selecting the items in the Diagram, right-clicking one of the selected items, and using the Layers submenu to select which Layers the item should be a part of.
- Note: Creating a new Layer while items in the Diagram are selected will add the selected items to the Layer.
- When you have some existing layers you will see them beside the create button in the bottom left of the Diagram. Hover over the name of the Layer to see everything in that Layer highlight in the Diagram. Click on the name of the Layer to toggle visibility of the items in that Layer.