How to build rack diagrams in draw.io

By Emily Williams

April 2, 2026

Claim your 20% discount for Atlassian Team ’26

We’re excited to share a 20% discount on individual conference passes for our community! To claim your code, simply fill out this form.

Note: This discount applies to Atlassian Team ’26 registration only and cannot be combined with other promotional offers or group bundles. Per Atlassian event terms, discounts cannot be applied retroactively to existing registrations and are subject to availability.

Cable management best practice

When managing a data center or a small office server closet, outlining where your switches should go and your overall cable management visually is best practice to ensure everything is set up as intended.

In draw.io, you can build a visual representation of your IT hardware to help you optimize space and plan the installation in detail before you get started. For teams using Confluence and Jira Cloud, draw.io enables you to document these physical layouts directly where your project requirements live.

In this blogpost, we’ll look at everything you need to build rack diagrams in draw.io.

1. Enable dedicated shape libraries

draw.io comes packed with vendor-specific shapes (APC, Cisco, Dell, F5, HP, IBM, and Oracle). All of our shape libraries are instantly available to use, unlike other diagram software providers who often gate advanced libraries behind a paywall.

To enable the Rack shape library:

  1. Head to +More Shapes at the bottom of the left side menu.

  2. Scroll down to the Networking category and select Rack. If you are working on industrial hardware, check the Cabinets library under the category Other.

  3. Click Apply. Use the dropdown arrows to the left of a shape library to expand the view and see and select shapes.

Image showing the Rack shape library in draw.io

2. Set up your cabinet

Choose from a template

Use a template to get a head start on your diagram. In the template manager, there is already a Cabinet template under the Engineering category.

Image showing the template manager in draw.io. The Engineering category is selected, and a preview of the Cabinet template is shown

If you’re working with Arista rack equipment, there is a dedicated template. To use this:

  1. On a Confluence page, start typing “/draw.io” and select draw.io Diagram 

  2. The template manager will open by default. Alternatively, if you’re already in the draw.io diagram editor, click the plus (+) icon in the top menu and select Template.

  3. Type in “Arista” in the top-left search bar. You can use the magnifying glass icon to preview the template.

  4. Click Insert in the bottom right to add the template to the canvas.

Image showing the Arista rack equipment layout template in the draw.io template manager

Build your cabinet or rack from scratch

Use the search bar in the left side menu to search for cabinet shapes (we offer both numbered and unnumbered versions). Hover over a shape to preview it, then drag the shape onto the canvas.

Image showing the numbered cabinet shape in draw.io

Need a 42U rack, or a smaller 12U wall-mount? Select the cabinet and drag the blue circles at the top or bottom. The rack space (and numbering) will automatically adjust as you resize.

Gif showing the numbered cabinet shape in the draw.io editor. The shape is selected and its size is increased and decreased, with the numbered rows on the left adjusting automatically

You can toggle the Display Numbers property to run in ascending or descending order, depending on your facility’s standard. To do this, select the cabinet and in the Style tab of the format panel (on the right), expand Properties.

Image showing the numbered cabinet shape in the draw.io editor. The Style tab in the right side menu is displayed, with the Properties expanded and the Display Numbers options (Off; Ascending; Descending) highlighted

3. Populate the rack

Drag any of the component shapes (e.g. servers, patch panels, UPS, etc.) into the middle of the cabinet or rack. These are designed to “snap” into the U-slots, and you can simply drag them up or down to change where they sit within the rack.

Press Ctrl (Windows) or Cmd (Mac) + D to duplicate a shape; this will nest directly below the previous shape in the rack.

Tip: You can hover over any shape in the library to view its specific name.

Gif showing 3 rack diagrams (Server; PSU; IO) in the draw.io editor. In the left search bar, the Cisco IPS 4500 Sensor is searched for, and clicked and dragged to the third rack diagram. The Cisco shape is then duplicated again directly below the previous shape

Add a label to a shape on the right side of the rack by double-clicking a component, adding your text, and pressing Enter.

Gif showing a Server rack in the draw.io editor. A shape is double-clicked, and the text Dell PowerEdge R940 is pasted in

As shown in the image below, professional documentation often segregates hardware by its role to ensure better cooling and cable management:

  • Server racks: Dedicated to the compute layer and high-density drive arrays.
  • PSU racks: Housing Power Supply Units, UPS systems, and infrastructure.
  • IO racks: The connectivity layer for switches, routers, and patch panels.
Image showing three rack diagrams built in draw.io: Server rack, PSU rack, IO rack

4. Replacing shapes

When upgrading a switch in your diagram, you don’t need to delete the old one and realign the new one. Simply drag the new shape from the library and hover it over the existing component until the “replace” arrow appears. Release it, and draw.io swaps the hardware while keeping the position accurate.

Gif showing “4900m Switch” typed into the search bar in the left side menu in the draw.io editor. The shape is dragged across to the third IO rack diagram over a Cisco IPS 4500 Sensor shape until the blue Replace shape icon appears. The 4900m Switch shape is released, replacing the original shape in the rack

Your hardware’s source of truth

A great rack diagram acts as a source of truth. By planning it out in draw.io first, you’re saving yourself (and your back) a lot of trouble later. What’s more, your team only has to look at the Confluence page or Jira ticket to see how everything is set up. Knowing where everything goes in advance means you move heavy hardware once, reducing the risk of cabling errors, or finding out the hard way that everything doesn’t fit as expected.

Here is why draw.io is the right tool for your rack diagrams:

  • Automatic scaling: Racks add numbered slots as you resize them, ensuring your plan matches the physical layout.

  • Shape access: Instant access to shapes from APC, Cisco, Dell, and more, without hitting a paywall.

  • Replace shapes: Swap out hardware easily with the Replace feature, while keeping the rest of the layout as is.

  • Keep everything centralized: Everyone’s on the same page when you house your diagrams in your single source of truth, directly alongside your project documentation and requirements.

So, before you grab the rack screws and velcro ties, build out your rack diagrams in draw.io – your future self will definitely thank you!

Want to dive deeper into the world of draw.io? Access our linktr.ee page to follow us on social media and learn how others use draw.io, as well as pick up some helpful tips and tricks.

Not using draw.io yet? Convince yourself and start your free 30-day trial today. Or book a free no-obligation demo with our customer success team to learn more about how draw.io can make life easier and more productive for you and everyone in (and outside of) your company!

Happy diagramming!