How to Fix Visio Connectors Passing Through Shapes
Question details
The user needs to prevent Microsoft Visio connectors from routing incorrectly, ignoring spacing settings, and passing directly through shapes.

- Product
- Microsoft Visio Professional 2016
- Device & OS
- not provided
- Scenario
- Creating diagrams or flowcharts where connector lines need to route around objects cleanly using configured spacing distances.
- Observed behavior
- Connectors are routing over, behind, or straight through shapes and are ignoring the spacing distance specified in the layout settings, requiring constant manual correction.
Verify that your shapes are not grouped in a way that blocks standard routing, and save a backup of your diagram before modifying the underlying ShapeSheet values.
Adjust Connection Point Direction in ShapeSheet
Modifying the directional vectors of connection points forces the connector to exit the shape outward rather than crossing inward.
In Visio, connection points have specific direction properties (DirX and DirY) that tell the connector which way to route upon exiting the shape. If these are set incorrectly, the line may travel right through the object.
Go to File > Options > Customize Ribbon, check the 'Developer' box in the right column, and click OK.
Right-click the shape experiencing the routing issue and select 'Show ShapeSheet' from the context menu.
Scroll to the 'Connection Points' section. Locate the 'DirX/A' or 'DirY/B' cell. Change the value from -1 to 1 (or vice versa) to flip the connector's exit direction.
Close the ShapeSheet and move the shape slightly to trigger Visio's automatic routing recalculation.

Verify Page Layout and Spacing Settings
Ensure that global page-routing parameters aren't overriding your desired connector-to-shape distances.
Create Professional Flowcharts Easily with WPS Office
Tired of dealing with complex routing issues in specialized diagramming tools? WPS Office provides a free, highly compatible alternative for your daily tasks, including an intuitive built-in flowchart maker that handles shape connections smartly and automatically.
- 1. Download WPS Office: Install the free WPS Office suite on your computer.
- 2. Open a Document or Presentation: Launch WPS Writer or WPS Presentation and create a new blank file.
- 3. Insert Flowcharts: Go to the Insert tab, select 'Flowchart', and use the smart shapes and automatic connectors to build your diagram effortlessly.

Frequently Asked Questions
Why do my Visio connectors keep passing through my shapes?
This typically occurs when the connection point's directional value (DirX or DirY) forces the line inward instead of outward. It can also happen if the shape's placement settings are configured to allow lines to route through it.
How do I enable the ShapeSheet in Visio?
To view the ShapeSheet, you must first enable the Developer tab. Go to File > Options > Customize Ribbon, check the 'Developer' box, and click OK. You can then right-click any shape to access its ShapeSheet.
Does changing the Page Setup spacing apply to existing connectors?
Adjusting the Spacing settings under Design > Layout > Page Setup usually prompts Visio to recalculate routes for automatic connectors. However, if you have manually adjusted a connector previously, you may need to reset it (Design > Reset Connectors) for the new spacing rules to apply.




