Logo
NeoArc Studio

Graph Links Block

Create interactive navigation diagrams that link to pages, external URLs, and the home page. Build site maps, knowledge bases, and learning paths with clickable nodes.

Graph Links diagrams use D3.js force simulation to create interactive navigation structures. Unlike Graph Diagrams (which focus on entity properties), Graph Links nodes are clickable and navigate to pages, external URLs, or the home page. This makes them ideal for site maps, documentation navigation, and learning paths.

When to Use

Block Properties

PropertyRequiredDescription
Diagram PathYesPath to the .graph-links.json file
TitleNoOptional title displayed above the diagram

Link Types

Each node in a Graph Links diagram can link to one of three destinations.

Example: Documentation Site Map

This diagram shows the navigation structure for this documentation site. Click any node to navigate to that page, or select a node to see its link type in the info panel.

Edge Labels

Edges in Graph Links diagrams can include labels that describe the navigation relationship.

Example: Learning Path

This diagram shows a progressive learning structure through NeoArc features. Numbered edges indicate the recommended learning sequence. Click any node to navigate to that feature page.

Example: Features Overview

This diagram shows all NeoArc features branching from the Features Overview page. Relationship labels show how features connect. Click any node to explore that feature.

Viewer Features

FeatureDescription
Link Info PanelSelect a node to see its link type and destination in the right panel
Navigate ButtonClick the button in the info panel to follow the link
Visual Link IndicatorsNodes with links show enhanced hover effects and pointer cursors
Link Type BadgesColour-coded badges identify home (green), page (blue), and external (amber) links

Interactive Features

Like Graph Diagrams, Graph Links diagrams support full interactivity.

FeatureDescription
Drag NodesReposition nodes to improve layout
Zoom and PanNavigate large diagrams using mouse wheel and drag
Filter NodesUse the nodes list to search by name
Toggle ThemeSwitch between light and dark modes

Navigation Events

When a user clicks a node in the viewer, the diagram dispatches custom events.

Use Cases

Creating Graph Links Diagrams

StepAction
1Create a new graph links file (.graph-links.json) in the file browser
2Add nodes representing navigation destinations
3Set each node's link type (home, page, or external) and target
4Connect nodes with edges, adding relationship labels where helpful
5Adjust spacing to optimise the layout
6Reference the diagram in your page using the Graph Links block

Editor Keyboard Shortcuts

The Graph Links editor shares shortcuts with the Graph Diagram editor.

ShortcutAction
TabCreate a new node connected to the selected node
Delete/BackspaceDelete selected nodes or edges
EscapeClear selection
Shift+DragCreate an edge between two nodes
Ctrl/Cmd+ZUndo last action
Ctrl/Cmd+YRedo action
Double-clickEdit node or edge label

Graph Links vs Graph Diagrams

Choose the right diagram type for your purpose.

AspectGraph LinksGraph Diagrams
PurposeNavigation structures with clickable destinationsEntity relationships with properties
Node ContentLink to pages, URLs, or homeData type and constraint information
InteractionClick to navigateClick to view properties
Best ForSite maps, learning paths, documentation navigationDomain models, ERD schemas, service dependencies