add_container
Wrap selected shapes in a container that sizes itself around them and moves with them. Use for VNets, VPCs, subnets, resource groups, and trust zones.
Instructions
Wrap existing shapes in a real Visio container (for VNets, VPCs, subnets, resource groups, trust zones). The container is sized around its members plus padding, and members MOVE WITH the container afterwards. Nest zones by creating inner containers first, then outer ones.
Args: label: Container heading text. member_ids: shape_ids to place inside. master: Optional container style name from Visio's built-in container stencil (defaults to the first available style).
To recolor the container afterwards (e.g. brand colors per zone), use style_shape on the returned shape_id — theme guards are overridden.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| label | Yes | ||
| master | No | ||
| member_ids | Yes | ||
| padding_in | No |