How to Make Visio Shapes Snap Together Without Connectors
Question details
The user wants to snap two Visio shapes (such as server and rack stencils) together directly without drawing a connector line between them.

- Product
- Microsoft Visio
- Device & OS
- not provided
- Scenario
- Creating diagrams like server racks where custom shapes need to be perfectly aligned and glued directly to one another without using standard line connectors.
- Observed behavior
- By default, connecting objects in Visio usually requires drawing a 1D connector line between two 2D shapes, preventing 2D shapes from snapping directly to each other.
Ensure that the Snap & Glue features are enabled in your Visio document settings (View tab > Visual Aids), as these are required for shape connection points to function correctly.
Convert Shape to 1D Format or Configure Glue Settings
Modify the shape's behavior properties so it acts as a 1D shape, or change the connection point's glue direction to allow two 2D shapes to connect directly.
Visio classifies shapes as either 1D (typically lines) or 2D (objects). By default, Visio connects 1D shapes to 2D shapes. To snap two 2D objects directly, you must change one to behave like a 1D shape or modify the connection point's glue direction to accept inward or outward connections.
If the Developer tab is not visible, go to File > Options > Customize Ribbon. Check the 'Developer' box in the right pane and click OK.
Select the shape you want to snap (e.g., a custom server shape). Go to the Developer tab and click on 'Behavior' in the Shape Design group.
In the Behavior dialog box, check the shape's interaction style. Change the setting from 2-dimensional to '1-dimensional'. This allows the shape's endpoints to snap directly to connection points on other 2D shapes, such as your rack stencil.
If you need to keep both shapes as 2D objects, you can edit the connection points to control the glue direction. Select the Connection Point tool, right-click the point on your shape, and define whether it should have an Inward, Outward, or Inward & Outward glue direction.
Need a Powerful Yet Lightweight Office Suite?
While Visio is great for complex technical diagrams, it belongs to the Microsoft Office ecosystem and requires an additional subscription. If you are looking for an all-in-one suite for your everyday document, spreadsheet, and presentation needs, try WPS Office. It provides robust built-in diagramming, smart art, and charting tools completely for free.
- 1. Download WPS Office: Visit the official WPS Office website to download the free installation package for your operating system.
- 2. Access Built-in Diagramming Tools: Open a new Document, Presentation, or Spreadsheet. Navigate to the Insert tab to find powerful Shapes, Flowcharts, and Smart Art tools.
- 3. Create Seamless Diagrams: Use the intuitive drag-and-drop interface and smart alignment guides to create highly customizable diagrams without struggling with complex glue settings.

Frequently Asked Questions
Why won't my Visio shapes glue together directly?
By default, Visio is programmed to connect 1D shapes (lines) to 2D shapes (solid objects). If you try to glue two 2D shapes directly to each other, they won't snap unless you configure their connection points' glue directions or change one shape's behavior to 1-dimensional.
What is the difference between outward and inward glue in Visio?
Inward glue allows a connection point on a shape to accept a connection from another shape. Outward glue acts like a connecting endpoint that seeks to stick to another shape's inward connection point. Matching inward and outward directions lets two 2D shapes snap together seamlessly.
Can I turn a 2D server rack shape into a 1D shape?
Yes, you can easily change a shape's interaction style. Select your custom shape, open the Developer tab, click on Behavior, and switch the interaction style from 2-dimensional (2D) to 1-dimensional (1D). This will instantly make it easier to snap onto other structures.
Are built-in Visio server stencils 1D or 2D?
Many official server and rack shapes included in Visio stencils are specially designed as 1D shapes or use specialized connection-point glue settings so that they snap together perfectly straight out of the box.




