# SmartVisuals Network Graph for Power BI

> Network graph for Power BI from Source and Target: five seeded layouts, drag and pin, search, group hulls. Free to 100 nodes; centrality, communities premium.

- Page: https://www.smartvisuals.io/visuals/network-graph
- Fields and settings: https://www.smartvisuals.io/visuals/network-graph/settings
- Microsoft Marketplace: https://marketplace.microsoft.com/en-us/product/smartvisuals.smartvisuals-network-graph?tab=overview
- Package: https://www.smartvisuals.io/downloads/smartvisuals-network-graph-1.0.1.0.pbiviz
- Price: Free tier for every viewer; premium $2.99 per user per month or $29 per user per year on Microsoft Marketplace, with a 30-day free trial. Premium works in edit mode without a licence; unlicensed viewers see the free tier, never a blocked visual.
- Certified by Microsoft: no
- Version: 1.0.1.0
- GUID (visualType and publicCustomVisuals): `smartvisualsNetworkGraphA45155E8607287D7E32D85B757E558DD`

## What is free

- **Two fields to start**: Source and Target make the graph; Weight, groups, sizes, images and link types are optional. Repeated rows add up, blank Targets add nodes without links.
- **Five seeded layouts**: Force-directed, grouped, circular, radial around a centre node and arc. The same data and seed always draw the same picture.
- **Drag, pin, zoom and pan**: Pins made in edit mode are saved with the report; double-click releases one. Mouse wheel, background drag and zoom buttons.
- **Search and one-hop focus**: Find a node by name and centre the view on it; hover or click a node and its direct neighbours stay bright.
- **Degree and weighted degree**: Size nodes by links, by total weight or by your own size measure, with degree centrality in every tooltip.
- **Groups, hulls and collapse**: Colour by a group field with stable colours under filters, a hull around each group, double-click to collapse a group into one node, and links bundled between groups.
- **Links your way**: Width by weight, colour by source, target or link type, arrows, curves, self-loops and weight labels.
- **Images in nodes**: A picture per node from data:image values in your model; web addresses are never loaded.
- **Data notes**: Self-loops, repeated rows, blank or negative weights and nodes without links are counted under the graph, never dropped silently.
- **Power BI features**: Tooltips and report page tooltips, cross-filter and highlight with Ctrl to add, context menu, bookmarks and optional drill buttons for a hierarchy.
- **Templates, themes and accessibility**: Five style templates with import and export, four themes, four fonts, on-object formatting, keyboard navigation, screen reader support and 20 languages.

## What premium adds

- **Key players**: Betweenness, closeness, PageRank and eigenvector centrality for node size and colour, a ranked Key Players panel, and every metric in the tooltip.
- **Communities**: Louvain detection with modularity; colours, hulls, bundling and collapse follow the communities.
- **Single points of failure**: Cut nodes and bridges marked, with how many nodes removing each one cuts off.
- **Shortest paths, wider focus and k-core**: The route between two nodes by hops or weight, focus 2 to 4 hops downstream or upstream, and a k-core filter for the dense centre.
- **Period comparison and play**: New, lost, grown and shrunk links, new nodes and the rising brokers between two periods; play through the periods on the same layout.
- **Insights strip**: Up to four sentences naming the hubs, the brokers, the communities, single points of failure and what changed.
- **Small multiples**: One panel per value on the same node positions, each with its own links.
- **Table view and CSV export**: Sortable tables of nodes (links, weighted degree, betweenness, closeness, PageRank, k-core, nodes cut off) and of links, with CSV export where Power BI allows downloads from custom visuals.
- **Networks above 100 nodes**: Up to 5,000 nodes drawn, chosen by link weight, with every metric computed on the whole network.
- **Colour by rule (fx)**: Conditional formatting of node colours by a rule on the Weight measure.

## Fields

| Field | Internal name | Takes | Needed | What it is for |
| --- | --- | --- | --- | --- |
| Source | `source` | Column | Optional, up to 4 | Who or what a link starts from (supplier, person, application); a hierarchy drills with the Power BI drill buttons |
| Target | `target` | Column | Optional, up to 4 | Who or what the link goes to; leave it blank in a row to add a node without links |
| Weight | `weight` | Measure | Optional | Link weight (spend, messages, calls); empty = each row counts one |
| Source group | `sourceGroup` | Column | Optional | Group of the Source node (type, department, domain): colour, hulls, grouped layout |
| Target group | `targetGroup` | Column | Optional | Group of the Target node (for nodes that only appear as a Target) |
| Source size | `sourceSize` | Measure | Optional | Node size of the Source when Size By = the size measure |
| Target size | `targetSize` | Measure | Optional | Node size of the Target when Size By = the size measure |
| Source image | `sourceImage` | Column | Optional | A data:image URI per Source node (no web addresses are fetched) |
| Target image | `targetImage` | Column | Optional | A data:image URI per Target node |
| Link type | `edgeType` | Column | Optional | Colours links by type (supply, service, ownership) |
| Period | `period` | Column | Optional | Year, quarter or month: period comparison and play (premium); derive mode compares the last two |
| Small multiples | `facet` | Column | Optional | One chart per value on the same layout (premium) |
| Tooltips | `tooltips` | Measure | Optional, up to 8 | Extra fields in the link and flow tooltips |

## Format pane

Each card is a key under `visual.objects` in a PBIR visual.json; each setting is a property of it. Toggles take `true`/`false`, choices and text a value in single quotes (`'auto'`), numbers a `D` suffix (`12D`).

### Templates (`templates`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Style Template | `preset` | `none` (None (style defaults)), `executive` (Executive), `minimal` (Minimal), `presentation` (Presentation), `print` (Print), `investigation` (Investigation), `custom` (Custom) |
| Import Template (Paste JSON) | `importJson` | Text |
| Applied | `applied` | Text |

### Data (`data`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Links | `directed` | `directed` (Directed (Source → Target)), `undirected` (Undirected (A–B is B–A)) |
| Analytics Weight | `weightMeans` | `hops` (By hops (unweighted)), `strength` (Weight = strength (higher is closer)), `distance` (Weight = distance (higher is farther)) |
| Closeness Direction | `closeness` | `incoming` (Incoming (who reaches the node)), `outgoing` (Outgoing (whom the node reaches)), `undirected` (Ignore direction) |
| Current Period (empty = last) | `current` | Text |
| Comparison Period (empty = the one before) | `comparison` | Text |
| Name of Blank Values | `blankLabel` | Text |

### Layout (`layout`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Layout | `type` | `force` (Force-directed), `grouped` (Grouped (one cluster per group)), `circular` (Circular), `radial` (Radial (rings by hops)), `arc` (Arc (nodes on a line)) |
| Order on the Circle or Line | `order` | `group` (Group, then degree), `degree` (Degree), `name` (Name) |
| Centre Node (empty = most connected) | `centre` | Text |
| Layout Seed | `seed` | Number |
| Spacing | `spacing` | Number |
| Animate the Settle | `animate` | On / off |
| Bundle Links Between Groups | `bundle` | On / off |
| Zoom and Fit Buttons | `zoomButtons` | On / off |

### Nodes (`nodes`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Size By | `sizeBy` | `degree` (Degree (links)), `strength` (Weighted degree), `measure` (Source / Target size measure), `uniform` (Same size), `betweenness` (Betweenness), `closeness` (Closeness), `pagerank` (PageRank), `eigenvector` (Eigenvector) |
| Smallest Node | `minSize` | Number |
| Largest Node | `maxSize` | Number |
| Shape | `shape` | `theme` (From theme), `circle` (Circle), `square` (Square), `diamond` (Diamond) |
| Border Width (-1 = theme) | `borderWidth` | Number |
| Border Colour (empty = theme) | `borderColor` | Colour |
| Images in Nodes | `images` | On / off |

### Links (`links`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Width | `width` | `weight` (By weight), `uniform` (Same width) |
| Thinnest Link | `minWidth` | Number |
| Thickest Link | `maxWidth` | Number |
| Colour | `colorBy` | `neutral` (One colour), `source` (Source node), `target` (Target node), `type` (Link type) |
| Link Colour (empty = theme) | `color` | Colour |
| Opacity (%) | `opacity` | Number |
| Shape | `curve` | `theme` (From theme), `straight` (Straight), `curved` (Curved) |
| Arrows | `arrows` | On / off |
| Draw Self-Loops | `selfLoops` | On / off |
| Link Labels (Weight) | `labels` | On / off |
| Link Label Font Size | `labelSize` | Number |
| Link Label Colour | `labelColor` | Colour |

### Colours (`colors`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Colour Nodes By | `mode` | `group` (Source / Target group), `single` (One colour), `measure` (Size measure (2-stop gradient)), `community` (Community (Louvain)), `centrality` (Centrality (gradient)) |
| Node Colour | `single` | Colour |
| Low Colour | `low` | Colour |
| High Colour | `high` | Colour |
| Colour-Blind Safe Palette | `colorBlind` | On / off |
| Community 1 | `community1` | Colour |
| Community 2 | `community2` | Colour |
| Community 3 | `community3` | Colour |
| Community 4 | `community4` | Colour |
| Community 5 | `community5` | Colour |
| Community 6 | `community6` | Colour |
| Community 7 | `community7` | Colour |
| Community 8 | `community8` | Colour |
| Community 9 | `community9` | Colour |
| Community 10 | `community10` | Colour |
| Community 11 | `community11` | Colour |
| Community 12 | `community12` | Colour |
| Community 13 | `community13` | Colour |
| Community 14 | `community14` | Colour |
| Community 15 | `community15` | Colour |
| Community 16 | `community16` | Colour |
| Community 17 | `community17` | Colour |
| Community 18 | `community18` | Colour |
| Community 19 | `community19` | Colour |
| Community 20 | `community20` | Colour |
| Community 21 | `community21` | Colour |
| Community 22 | `community22` | Colour |
| Community 23 | `community23` | Colour |
| Community 24 | `community24` | Colour |

### Groups (`groups`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Outline Each Group (Hull) | `hulls` | On / off |
| Hull Opacity (%) | `hullOpacity` | Number |
| Readers Collapse a Group (Double-Click) | `collapse` | On / off |
| Group Names on Hulls | `labels` | On / off |

### Key Players (`keyPlayers`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Rank By | `metric` | `degree` (Degree), `strength` (Weighted degree), `betweenness` (Betweenness (brokers)), `closeness` (Closeness), `pagerank` (PageRank), `eigenvector` (Eigenvector) |
| Key Players Panel | `drawer` | On / off |
| Players Listed | `top` | Number |
| Panel Width (%) | `width` | Number |

### Communities (`communities`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Detect Communities (Louvain) | `show` | On / off |
| Outline Each Community | `hulls` | On / off |
| Readers Collapse a Community | `collapse` | On / off |

### Paths and Focus (`paths`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Shortest Path (Shift + Click Two Nodes) | `show` | On / off |
| Path From | `from` | Text |
| Path To | `to` | Text |
| Focus Reaches (Hops) | `hops` | Number |
| Focus Direction | `direction` | `both` (Both ways), `out` (Downstream (what the node feeds)), `in` (Upstream (what feeds the node)) |
| Show Only the k-Core (0 = off) | `kcore` | Number |

### Single Points of Failure (`spof`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Mark Cut Nodes and Bridges | `show` | On / off |
| Mark Only When Cutting Off at Least | `minCutOff` | Number |
| Marker Colour (empty = theme) | `color` | Colour |

### Period Comparison (`compare`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Compare Two Periods | `show` | On / off |
| No Change Within (±%) | `flatBand` | Number |
| Draw Lost Links | `showLost` | On / off |
| New / Grown Colour (empty = theme) | `up` | Colour |
| Lost / Shrunk Colour (empty = theme) | `down` | Colour |

### Insights Strip (`explain`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Insights Strip | `show` | On / off |
| Position | `position` | `top` (Top), `bottom` (Bottom) |
| Font Size | `fontSize` | Number |
| Text Colour | `color` | Colour |

### Play Over Periods (`play`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Play Controls | `show` | On / off |
| Seconds per Period | `speed` | Number |
| Loop | `loop` | On / off |

### Small Multiples (`smallMultiples`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Columns (0 = auto) | `columns` | Number |
| Panels | `max` | Number |
| Panel Title Font Size | `fontSize` | Number |
| Panel Title Colour | `color` | Colour |

### Table View (`table`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Table View Button | `show` | On / off |
| CSV Export Button | `export` | On / off |

### Data Labels (`labels`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Show | `show` | On / off |
| Which Labels | `which` | `auto` (Auto (largest first, never overlapping)), `all` (All), `top` (Top N by size) |
| Top N Labels | `topCount` | Number |
| Value | `value` | On / off |
| Display Units | `displayUnits` | `auto` (Auto), `none` (None), `K` (Thousands), `M` (Millions), `B` (Billions) |
| Decimals (-1 = auto) | `decimals` | Number |
| Font Size | `fontSize` | Number |
| Text Colour (empty = theme) | `color` | Colour |
| Halo Behind Labels | `halo` | On / off |

### Search and Navigation (`navigation`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Search Box | `search` | On / off |
| Hover Highlights the Neighbourhood | `hover` | On / off |
| Breadcrumb (Collapsed Groups, Focus) | `breadcrumb` | On / off |
| Drag to Move and Pin Nodes | `drag` | On / off |
| Power BI Drill Buttons | `hostDrill` | On / off |
| Search and Breadcrumb Font Size | `fontSize` | Number |
| Search and Breadcrumb Text Colour | `color` | Colour |

### Legend (`legend`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Show | `show` | On / off |
| Position | `position` | `bottom` (Bottom), `top` (Top), `right` (Right) |
| Orientation | `orientation` | `horizontal` (Horizontal), `vertical` (Vertical) |
| Title | `showTitle` | On / off |
| Title Text | `titleText` | Text |
| Font Size | `fontSize` | Number |
| Text Colour | `color` | Colour |

### Data Notes (`notes`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Data-Notes Strip | `show` | On / off |
| Font Size | `fontSize` | Number |
| Text Colour | `color` | Colour |

### Footnote (`footnote`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Show | `show` | On / off |
| Source | `source` | Text |
| State the Methods | `showMethod` | On / off |
| Font Size | `fontSize` | Number |
| Text Colour | `color` | Colour |

### Panels and Buttons (`controls`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Font Size | `fontSize` | Number |
| Text Colour | `color` | Colour |

### Accessibility (`accessibility`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Shapes and Patterns (Tell Items Apart Without Colour) | `patterns` | On / off |
| Focus Outline Colour | `focusColor` | Colour |
| Focus Outline Width | `focusWidth` | Number |
| Minimum Text Size (0 = off) | `minFontSize` | Number |
| Reduce Motion | `reduceMotion` | On / off |

### Theme (`theme`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Theme | `selectedTheme` | `smartvisuals` (SmartVisuals), `dark` (Dark), `clean` (Clean (White)), `slate` (Slate) |
| Font | `font` | `inter` (Inter), `segoe` (Segoe UI), `arial` (Arial), `georgia` (Georgia) |
| Transparent Background | `transparentBg` | On / off |

### Group Colours (`dataPoint`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Colour | `fill` | Colour |
| Colour by Rule | `fxFill` | Colour |
