Auto-align and space the shapes in a diagram
Applies ToGói Visio 2 Visio trong Microsoft 365 Gói Visio 1 Visio Professional 2024 Visio Standard 2024 Visio Professional 2021 Visio Standard 2021 Visio Professional 2019 Visio Standard 2019 Visio Professional 2016 Visio Standard 2016

Visio automatically aligns selected shapes and evens the spacing between them with one click by you. For Auto Align & Space to take effect, the shapes must have connector lines linking them.

  1. Select the shapes you want to align and space, or click a blank area of the page to remove any selection. When no shapes are selected, Auto Align & Space affects all shapes on the page.

  2. Select Home > Arrange > Position and then click Auto Align & Space.

If Auto Align & Space arranges the shapes unsatisfactorily, you can undo it by pressing Ctrl+Z.

Other ways to arrange shapes

  • You can align selected shapes on the same vertical or horizontal axis by using the options under Home > Arrange > Align.

  • You can make even spacing between shapes by using the options under Home > Arrange > Position.

  • You can manually position shapes by dragging. When you drag a shape, green positioning guides help you place it exactly where you want it. In the illustration below, the distribution arrows appear when the shape is dragged to match the distribution of other nearby shapes. Dashed lines appear to help you align horizontally or vertically with other shapes.

    Alignment and positioning guides

See Also

Re-layout a diagram in Visio

Bạn cần thêm trợ giúp?

Bạn muốn xem các tùy chọn khác?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.