Skip to content
Nextra

Analysis and results

Structural graph

The structure as an engineer reads it, in the Graph tab, in Rhino and for an AI assistant (nextra_graph).

The structural graph describes your structure the way an engineer reads it, not as the FE mesh. The panel shows it in Analyse > Graph, Grasshopper has the component Nx Structural Graph, Rhino draws it in the viewport, and an AI assistant can ask it questions through the MCP tool nextra_graph. All four read the same records.

The structural graph of a portal frame in Rhino: the asked rafter R1 highlighted with its id, the eave joints in green (firm)

#How to use it

  1. Run the analysis (the panel's Analyse, or Nx Analyse with Run on in Grasshopper).
  2. Build the graph: Analyse > Graph > Build the structural graph in the panel, or wire Nx Analyse > Results into Nx Structural Graph.
  3. Read What the AI sees: the answer an assistant gets about the whole structure, in about 350 tokens.
  4. Ask about one part: click a member in the Graph tab, or type its id into Id of the Grasshopper component (a member, joint or span id).
  5. Look at the spans and the compare / Review marks: where the design measured a deflection over another length than the graph's span, check which one you mean (Nx_SpanType, Nx_SpanReference, Nx_SpanExtent). Buckling lengths to review lists members that continue in line with nothing holding them at the joint (no support, no other member, surface or link there - for example a column drawn in two pieces): the design takes K L of each piece, the unbraced length is longer. Set Nx_LcrY / Nx_LcrZ or K if the shorter length is meant.
  6. Show in Rhino (panel) or Preview on (Grasshopper) draws the graph in the viewport.

#What it contains

  • Physical members. A run of one section through rigid joints, however many FE elements it holds. A column breaks the run. Two rafters joined rigidly at the ridge form one path.
  • Member ends. For each end, the graph records whether it takes the moment (rigid), releases it (pinned) or holds it with a spring (semi-rigid).
  • Joints and supports. These include the ground supports and the support springs.
  • Spans. One span runs between neighbouring supports along a member. Its type is span, cantilever, path (a kinked rafter), storey (a column) or unsupported.
  • Support roles. Each support of a span gets a role. It is firm when the rest of the structure, without this member, holds the joint at least 10 times stiffer than the member's own 3EI/L³. It is flexible from 1 times, and none below that. Ground means a support.
  • Measured deflection. Each span's deflection is measured relative to its supports, with the absolute and support movement beside it. The limits here are demonstration values (L/250, cantilever L/125, storey h/300). The design checks are in the Design tab.

#In the panel

Run the analysis, open Analyse > Graph and click Build the structural graph. It is built from the analysis that is already stored, so the run itself stays as fast as before. On a 100-member hall it takes under a second. The tab shows:

  • The counts. Physical members, joints, member ends without moment, and span supports by role.
  • The view. Frame draws the members, coloured by their span check (green within the demonstration limit, orange needs review, red over). Graph draws one dot per member and a line per connection: solid where the moment passes, dashed where it is released. Drag to turn and tilt, use the wheel to zoom, Reset view to go back. Graph is a graph map in the style of Obsidian: one dot per member (colour = kind, a ring = needs review / over), linked where they connect and down to a ground node. Hover a dot to light what it is tied to, drag dots, drag the background to pan, zoom in to see the names. A pushed load shows as the red chain from the push to the ground.
  • Push a load. Click a joint (a small circle) in the view, or use Pick point in Rhino, with the direction and kN beside it: the members the load passes turn red (wider = a larger share), with their share, and each support shows what it takes. Load case is a drop-down of the run's cases.
  • What the graph leaves out. For example shells, rigid ties or diaphragms. Answers about members held by those parts can be wrong, and the AI is told the same.
  • What the AI sees. This is the exact answer the AI gets, with its size in tokens.
  • The physical members. Click one to see its spans and the AI's answer about it.
  • The spans. Each span shows its support roles and measured deflection. Beside the graph's span length is the length the design measured the deflection over. A compare mark flags a difference over 10 %, so you can check which one is meant (Nx_SpanType, Nx_SpanReference, Nx_SpanExtent).

Analyse > Graph: the frame view, members by their span check

A load pushed at a roof corner: the braces carry it down, 48 % to each of two supports

The graph map: one dot per member, linked where they connect and down to the ground

The same push in the graph map: the chain from the edge beam through the braced bay to the ground

Other software can use the graph without Nextra Design: write the neutral graph JSON (core/nextra_design/graph/FORMAT.md), call graph.api.analyse / api.ask for the answers, and open web/graph-viewer.html for the map.

Show in Rhino draws the graph in the viewport:

  • each physical member coloured by its span check, as in the panel (a pushed load: one red, wider for a larger share); while the graph is shown it replaces the results colours, and they come back when you switch it off;
  • the span supports by role: ground black, firm green, flexible orange, none red;
  • member ends without moment as open circles;
  • the member picked in the table thicker, with its id.

#In Grasshopper

Nx Structural Graph (08.Results) takes Results from Nx Analyse or Nx Design Run and an optional Id; the Ask drop-down (system, list, member, joint, span, deflection, relations, load path, movement), Case and At sit behind the component's menu. With an Id and Ask on system, it asks about that member.

Nx Structural Graph on the portal-frame example: the AI's answer about R1, its size in tokens, the spans and the review list

Output What it gives
AI answer, Tokens What the assistant reads, and its size (budget 350)
Members, Lines The physical members and their centre lines (model units)
Joints, Roles The joints the spans rest on, and their role (ground, firm, flexible, none)
Spans Each span: type, length in the graph, the design's length, how its deflection is measured
Review Members whose design deflection length differs from the graph's span
Graph The whole graph as JSON

Preview on draws the graph in Rhino, as the panel's Show in Rhino does (one display: the component does not draw a second preview). The example 02 steel portal frame has it wired.

#Push a load and see where it goes

Plug a point into At (any Rhino point: the nearest joint is pushed) and pick the Push direction (down, up, ±x, ±y) and Push [kN] in the menu. The Rhino view then shows the load path: each member coloured and thickened by the share of the load it carries (grey = none, deep red = all of it), the members carrying at least 20 % named with their share, the load as a red arrow, and each support with its share. The AI answer gives the same in numbers, with the largest axial forces in kN. Ask movement instead shows which members make that point move.

Nx Structural Graph with a point in At, push direction +x, 100 kN

100 kN in +x at the top corner of the steel frame: along the edge beam into the braced bay, down its X braces; the two braced-bay supports take 48 % each

#For an AI assistant

nextra_graph takes the model (path or JSON), an optional load case and a question:

ask Answers
system Counts, kinds of member (column, beam, brace, rafter), what rests on what (K1..K6 -> S1, beams -> columns (51)), the lateral system (which way the braces act, in which planes), the applied loads, levels, released ends, the worst span, warnings (a mechanism and the way it moves, torsion and where it comes from), what is left out, and every ask with its parameters
list Member ids, all or of one kind (id=brace)
member Section, length, its ends with coordinates, what it connects to, its spans, its unbraced length, its largest forces (N, V, T, M), where its torsion comes from, and the design's deflection length with the run's deflection value, limit and check
joint By id or by a point (at=x,y,z in m, the nearest joint): its coordinates, the members meeting there, how each end connects, the support
span One span with its supports, roles, lengths and measured deflection
deflection The spans with the largest deflection relative to their limit (up to 12)
relations What a member connects to and whether the moment passes; the members it is most tied to (load-free coupling); what happens if it is removed: a mechanism, or which members pick up its load
load_path A push (kN, dir down / up / ±x / ±y) at a joint or point (at): which supports take it, through which members, and the largest axial forces in kN. Equal shares are named as a tie
movement What makes a joint or point move (dir down / x / y): each member's share of its movement (virtual work, the shares add up to 1)
forces The members with the largest axial force, bending moment and torsion in this state (own loads included)
supports Each support's reaction forces and moments (global axes) and their sum

Every answer stays within about 350 tokens. A list that would be longer is cut from the end, with the most important items first, and the answer says how much was left out. Warnings and limits are shortened but never dropped. An unknown id returns cannot_answer with the reason and never a guess. Checked on the 14-question benchmark of the original graph project: every deterministic answer (counts, coupling, removal, moment transfer, load path, movement) equals the prototype's, each within 350 tokens.

Tested with AI models (2026-11-12). Haiku, Sonnet, Opus and Fable answered 14 questions on the prototype's model and 18 on the steel-frame example (counts, lateral system, moment transfer, deflection and unbraced lengths, a push at a point, removal, look-ups, two refusals) using only this tool; the steel-frame answers are checked against the FE engine and the model, not the graph. Round 1 (with two Codex models as well): 13-14 of 14 on the prototype, 8-13 of 14 on the steel frame. The graph was then changed where they failed (member kinds, coordinates, a list ask, unbraced length, axial forces, named ties, parameter help). Round 2, with four new questions: all four models 14 of 14 and 18 of 18, at 8-9 thousand tool tokens per model for 32 questions (the Codex models gave no valid second run: their wrapper failed and returned the first round's file). Questions, keys, answers and scores: docs/verification/graph-agent-benchmark.

The other MCP tools keep their answers within about 8,000 tokens in the same way. A results summary on a large model lists the most utilised members first and says how many it left out. Ask for one member by id to get the rest.

#Why does it behave like this? (torsion, missing bracing)

The graph names what makes a structure behave as it does, so an assistant can propose the right change. Two examples, checked against the FE engine (pictures drawn in Rhino from the graph):

  • Timber joists on a steel beam with a cantilever. Joists continuous over the beam on bearings: the beam takes no torsion. Back span pinned and the cantilever fixed to a bracket: the beam twists by 12.0 kNm (hand value 6 x qLc²/2 / 2). The system answer says torsion in S1: 12.0 kNm from K1..K6: 4.0 kNm each, 24.0 in total; to remove it: make J1..J6 continuous through S1 or rigidly joined to K1..K6 (not by pinning the cantilevers), and the member answer of S1 adds which supports take it (12.0 kNm each). A bearing is a link with free rotations; the graph keeps it as a link (it does not tie the turning of the two members).
  • A frame braced in one direction only. mechanism: ... moves freely along y and braces: along x in planes y = 0, 6 m; none along y: brace the short walls (then the braces take the load axially, nothing bends).

A: joists continuous on bearings, no torsion; B: cantilevers fixed to brackets, S1 twists 12.0 kNm (orange: the cantilevers that put the moment in)

A: braces only along x, a mechanism along y; B: both short walls braced, D7 / D8 carry the 10 kN axially

Four AI models found the twisted beam, its 12.0 kNm and its source; the larger ones proposed the continuous joist and the bracing; the smallest still proposed pinning the cantilevers. Details: docs/verification/graph-agent-benchmark.

#Limits

  • The graph is linear elastic, without warping.
  • Shear deformation is left out (Euler-Bernoulli). A member's own distributed load is included exactly: its equivalent joint loads (forces and moments, end releases kept) and its bending between the joints. So a span's deflection equals the run's value without shear: for a 12 m IPE360 rafter under 3 kN/m, 13.83 mm in the graph against 14.11 mm in the run (the 2 % is shear). The member answer still gives the run's own deflection check (value, limit, check) beside it.
  • After the engine restarts (30 minutes idle) or analyses another model, the graph is built again from the model file of the run (a second idealise, a few seconds on a large model) - no need to run the analysis again.
  • Section strength in the graph is estimated from A and I.
  • Two rafters meeting at a hinged ridge are separate members in the graph. Each reads as a cantilever from its eave, because the ridge holds it only weakly once it is taken away. The design measures their deflection eave to eave over both. The Graph tab shows both lengths.

Last updated 12 Nov 2026