Skip to main content

Network

The Network Diagrams module in SmartDoc provides an interactive visual editor for creating and maintaining infrastructure diagrams for your clients. Each node in the diagram can be linked to a real SmartDoc asset, and diagrams can be exported in PNG, SVG, or PDF format for reports and documentation delivered to clients.

Table of Contents

Overview

The Network Diagrams module addresses a fundamental MSP documentation need: having a clear, up-to-date visual representation of a client's network architecture. Whether for onboarding, an annual review, an audit, or an emergency intervention, a well-maintained diagram significantly reduces the time needed to understand the infrastructure.

The editor is based on the React Flow library (formerly @xyflow/react), which provides a smooth drag-and-drop and node connection experience directly in the browser.

Key points:

  • Three diagram types: network, mind map, org chart
  • Customizable nodes: Lucide icons or imported vector SVG (Adobe Illustrator, Visio, etc.)
  • Asset linking: each node can display the IP, hostname, or MAC address of the linked asset
  • Multi-format export: PNG, SVG, PDF
  • Duplication: clone an existing diagram as a starting point
  • Access levels: each diagram can be marked as internal or shareable with the client

Diagram Types

TypeIconTypical Use
Network diagramNetworkIT infrastructure, servers, network equipment, topology
Mind mapBrainBrainstorming, idea mapping, process analysis
Org chartPeopleCompany structure, hierarchy, teams

The diagram type is defined at creation and determines the node library available in the palette.

Diagram List Interface

Access via the SmartDoc sidebar: SmartDoc > Network Diagrams

Display Modes

Four modes are available, adjustable from the buttons at the top right:

ModeDescription
Small cardsVery dense grid (8 columns max), name and type only
Medium cardsBalanced grid, 6 columns
Large cards4 columns, with client, date, and status
TableOne row per diagram, all columns, sortable by column

Available Filters

  • Text search: on the diagram name
  • Status filter: Active, Inactive, Archived
  • Access level filter: Internal, Client
  • Type filter: Network, Mind map, Org chart

Page Size

In table mode, it is possible to choose the number of items per page: 25, 50, 75, or 100.

Actions from the List

ActionDescription
Click on a cardOpens the editor in a new tab
Context menu (three dots)Edit, Duplicate, Delete
DuplicateOpens a dialog to name the copy
New diagramOpens the diagram creation dialog

Creation Dialog

The creation dialog offers:

  1. Diagram type: choose from Network, Mind map, Org chart
  2. Name: diagram title
  3. Client: associated company (optional)
  4. Template: start from an existing template or a blank diagram

After confirmation, the editor automatically opens in a new tab.

Diagram Editor

The editor opens in a dedicated full-screen tab. It consists of:

  • A central canvas: an infinite work area where nodes and connections are arranged
  • A left panel: node palette and type library
  • A right panel: properties of the selected element (node or connection)
  • A toolbar at the top

Toolbar

ButtonFunction
SaveSaves the diagram (nodes, edges, viewport)
Fit viewReframes the canvas to display all elements
ExportOpens the export menu (PNG, SVG, PDF)
Toggle left panelHides or shows the palette
Toggle right panelHides or shows properties
Theme toggleSwitches between dark and light mode
Language toggleAlternates between French and English

Canvas Controls

The React Flow editor includes standard controls:

  • Zoom in/out: mouse wheel or + / - buttons
  • Pan: hold Space + drag, or middle-click
  • Multi-select: hold Shift + click on multiple nodes
  • Delete: Delete or Backspace key on a selected node/edge
  • Minimap: thumbnail view in the bottom right for navigation on large diagrams
  • Alignment grid: grid or dot background for aligning elements

Node Palette

The left palette displays available node types, organized in accordion categories.

Using the Palette

Two methods to add a node:

  1. Drag-and-drop: grab a node type from the palette and drop it onto the canvas at the desired location
  2. Click: a single click on a node type adds it to the center of the canvas

Default Available Icons

The palette includes icons for all common network equipment:

IconRepresents
ServerPhysical or virtual servers
RouterRouting equipment
NetworkSwitch, hub, generic topology
FirewallFirewall, UTM
CloudCloud (AWS, Azure, GCP)
MonitorWorkstations, monitors
WiFiWireless access points
Hard DriveStorage, NAS, SAN
PrinterNetwork printers
SmartphoneMobile devices
DatabaseDatabase servers
GlobeInternet, WAN
PadlockSecurity, VPN, encryption
CPUProcessing equipment
RadioWireless links, antennas
LaptopLaptops
CableWired connections
BrainAI, automation (used for mind maps)
And many more...Organizations, teams, locations, etc.

A search field at the top of the palette allows filtering node types by name.

Custom Node Types

Node types are fully customizable by the MSP from the Settings > Network Node Types page.

Node Type Properties

PropertyDescription
Name (EN/FR)Label displayed in the palette and on the canvas
IconSelection from available Lucide icons
Custom SVGImport of a vector SVG icon (max 200 KB)
ColorNode background color (purple, blue, cyan, green, orange, red, pink, etc.)
TagsKeywords for filtering
CategoryGroup in the palette
ScopeGlobal (all diagram types) or specific to a type

Importing Custom SVG Icons

SmartDoc accepts SVG icons from professional software such as Adobe Illustrator or Visio. The system:

  • Validates and sanitizes the SVG (removes malicious scripts via DOMPurify)
  • Makes SVG identifiers unique to avoid conflicts when multiple identical icons are present on the canvas
  • Handles Illustrator CSS classes (st0, st1, etc.) to avoid style conflicts
  • Supports transparent icons (without a colored background) for detailed SVGs

Node Categories

Node types can be organized into customizable categories. Each category appears as an accordion section in the palette, making navigation easier when the number of types is large.

Connections (Edges)

Creating a Connection

To connect two nodes:

  1. Hover over the edge of a node until the connection points (handles) appear
  2. Click and drag from a connection point to the target node
  3. Release on the target node to create the connection

Connections are bidirectional by default: each side of a node (top, bottom, left, right) has source and target connection points.

Connection Styling

The properties panel allows customizing each connection:

PropertyOptions
ColorGray, Blue, Green, Red, Orange, Purple, Cyan, Pink
ThicknessThin (1px), Medium (2px), Thick (4px)
Line styleSolid, Dashed
ArrowsNone, End, Start, Both ends
Path typeStraight, Smooth (curve), Step (right angle), Bezier
LabelText displayed on the connection
Label colorCustomizable
Label backgroundTransparent, White, or color
Label positionMovable by drag-and-drop

Disconnecting

Select an edge then press Delete or Backspace to remove it.

Linking to SmartDoc Assets

How It Works

Each node can be linked to a SmartDoc asset (server, switch, firewall, workstation, etc.). Once the link is established, the asset information is displayed directly on the node in the diagram.

Information Displayed on the Node

The following fields can be individually enabled or disabled in the node properties panel:

InformationDescription
Asset nameName as entered in the asset record
HostnameNetwork hostname of the equipment
IP addressPrimary IP address
MAC addressPrimary MAC address

Linking an Asset to a Node

  1. Select a node on the canvas
  2. In the properties panel (right), click "Link an asset"
  3. Search for the asset by name, hostname, or IP in the search list
  4. Select the asset — the information updates immediately on the node

The asset search takes into account the client selected in the SmartDoc context.

Label Position

The position of the text information around the node is configurable:

  • Bottom, Top, Left, Right
  • Bottom-left, Bottom-right, Top-left, Top-right
  • Hidden

Resizing SVG Nodes

Nodes using a custom SVG icon can be resized by dragging the resize handles that appear upon selection.

Export and Sharing

Export Formats

FormatDescription
PNGHigh-resolution image, ideal for Word or PowerPoint reports
SVGEditable vector in Illustrator, Inkscape, or embeddable in the web
PDFPrint-ready document or email attachment

The export captures the entire diagram visible on the canvas, including nodes, connections, and labels.

Access Levels

Each diagram is associated with an access level:

  • Internal: visible only to the MSP team in SmartDoc
  • Client: shareable with client contacts via the SmartDoc client portal

Duplication

Duplication creates a complete copy of a diagram (nodes, edges, viewport, settings) under a new name. This is the recommended method for creating similar diagrams for multiple clients or for creating an archived version before a major update.

Structured Network Module

Alongside the visual editor, SmartDoc has a structured network module accessible from the Network tab in the SmartDoc navigation bar. This module manages network data in a tabular and hierarchical manner.

Network Overview

The overview page displays a hierarchical tree:

Client company
|__ Site (e.g., Montreal Headquarters)
|__ Site VLANs
|__ Site subnets
|__ Assets linked to the subnet

Data loads lazily: sites only load when the company is expanded, and subnets only when the site is expanded.

Site Management

A site represents a client's physical location. Site information includes:

FieldDescription
NameDescriptive name of the site
AddressFull physical address (street, city, province, country)
PhoneSite phone number
ContactName of the on-site contact
ISPInternet service provider name
Circuit IDCircuit number at the ISP
BandwidthLink speed (e.g., 1 Gbps)
WAN IPPublic IP address of the WAN connection

VLAN Management

VLANs are associated with a site and a company. Each VLAN is defined by:

FieldDescription
VLAN IDVLAN number (1 to 4094)
NameDescriptive name of the VLAN
DescriptionAdditional information
UsageData, Voice, Management, Guest, IoT, DMZ, Security, Other

Subnet Management

Subnets document the IP address ranges used by each client. Each subnet includes:

FieldDescription
CIDRCIDR notation of the IP range (e.g., 192.168.10.0/24)
TypeLAN, WAN, DMZ, VPN, Guest, Management, VoIP, IoT, Other
DescriptionInformation about the subnet's usage
DHCP EnabledIndicates whether DHCP is active on this network
DHCP RangeStart and end addresses of the DHCP range
Primary DNSIP address of the primary DNS server
Secondary DNSIP address of the secondary DNS server
Associated SiteSite hosting this subnet
Associated VLANVLAN on which this subnet is configured

Inter-Site Connections

The module allows documenting connections between two sites of the same client (VPN, MPLS, SD-WAN, point-to-point link, etc.):

Connection TypeDescription
VPNVPN tunnel between two sites
MPLSCarrier MPLS link
SD-WANSoftware-defined WAN
Point-to-pointDedicated link
InternetConnection via the public Internet
IPSecEncrypted IPSec tunnel
OtherCustom type

Asset-Network Linking

The module allows linking a SmartDoc asset to a subnet with:

  • Asset IP address on this network
  • Interface MAC address
  • Network interface name (e.g., eth0, ens3)
  • "Primary interface" indicator

Site Detail Page

The site detail page displays all site information as well as associated VLANs, subnets, and assets in dedicated tabs.

Best Practices

  • Name your diagrams descriptively and include the date or version (e.g., "Main Network - XYZ Corp - 2026", "WAN Topology v3")
  • Create one diagram per "layer" of the infrastructure to avoid overcrowded diagrams: one physical diagram (equipment), one logical diagram (IP, VLANs), one security diagram (flows, zones)
  • Systematically link nodes to SmartDoc assets so the diagram stays up to date when asset information changes
  • Use duplication to create a "before intervention" version of a diagram before making major modifications
  • Archive old diagrams rather than deleting them to preserve the history of infrastructure evolution
  • Export to PDF and attach the diagram to reports delivered to the client during monthly or quarterly reviews
  • For SVG icons imported from Illustrator, verify that the file does not exceed 200 KB and does not contain external links
  • Use custom node categories to organize your library if you manage many client-specific equipment types
  • Fill in the structured network module (sites, VLANs, subnets) alongside the visual diagrams: this data feeds other SmartDoc modules and enables cross-module searching and linking

Last updated: 2026-03-05