Network Diagrams:Aligning Shapes

There are times in a diagram when you create a number of shapes that must line up, exactly, so that they “look proper”. Visio has a tool that does it exactly right.

Align a row of servers

Lets diagram a number of servers as you see them in a serverfarm. Drag a server onto the page and then “duplicate” it with the Ctrl-D keyboard shortcut. You may have to move it to the right a bit so it doesn’t overlap – it shoudl look approximately like this:

net-diagram-align-shape-1.jpg

Now lets align these shapes horizontally using Shapes, Align Shapes:

net-diagram-align-shape-2.jpg

Select the centre on middles. Most of the options here should be obvious.

net-diagram-align-shape-3.jpg

And now we have a straight line of servers. I think this is a good representation of a server farm.

net-diagram-align-shape-4.jpg

Other Shapes

The shapes do not have to be identical of course:

net-diagram-align-shape-5.jpg

will become:

net-diagram-align-shape-6.jpg

Caveats

If you decide to group shapes together, then the center that is used may not be where you expect. This means that you may have to ungroup shapes to align them correctly.

Other posts in the series

  1. Colour Blindness, Network Diagrams and Reliability
  2. Designer or Engineer, Artist or Painter
  3. Network Diagrams: Rotating Text on a Line
  4. Network Diagrams: Tips for Printing from Visio
  5. Network Diagrams:Zones on a diagram with Visio shape union
  6. Network Diagrams: Drawing complex VLAN Networks with IP Addressing
  7. Network Diagrams: Drawing Freehand Curves (and then fixing them)
  8. Network Diagrams:Aligning Shapes (This post)
  9. Network Diagrams:Locking the Background Shape
  10. Network Diagrams: Labelling an VLAN/IP Segment
  11. Network Diagrams: VLANs and IP Subnets
  12. Network Diagrams: Drawing the Background Shape
  13. On the Art of Network Diagrams and Presentation
About Greg Ferro

Greg Ferro is a Network Engineer/Architect, mostly focussed on Data Centre, Security Infrastructure, and recently Virtualization. He has over 20 years in IT, in wide range of employers working as a freelance consultant including Finance, Service Providers and Online Companies. He is CCIE#6920 and has a few ideas about the world, but not enough to really count.

He is a host on the Packet Pushers Podcast, blogger at EtherealMind.com and on Twitter @etherealmind and Google Plus

  • Ed

    Great post…just learned something new about Visio. Thx!

    • http://etherealmind.com Greg Ferro

      Thanks!

  • David

    Thanks for the tip Greg. However, when I do this my servers end up bunched together or not evenly spaced. Is there a way to space them exactly the same? I’ve searched and tried different things to no avail. Thanks!

    • http://etherealmind.com Greg Ferro

      Use the Shape, Distribute Shapes feature. It will evenly space all of the currently selected objects.

      • David

        Yeah, tried that, but for some reason it doesn’t work for me. I even tried upgrading to Visio 2010 thinking something was wrong with my install, but I get the same result. Maybe I’m doing it wrong. I’m simply creating a new doc, dragging out a server, clicking Ctl-D several times, selecting the group by dragging an outline around all servers with my mouse, Select spacing options and changing to a larger value / OK, but nothing changes.