Braian
Try the demo

Graph

A graph is a normal view. Select an object and open the Graph tab, or use the graph that a type workspace template already contains.

Object graph

The graph draws the selected object together with:

  • the groups and structures it is placed in
  • its attribute values (object references are NOT drawn as value nodes)
  • one node per directly linked peer object

An edge is labelled with the link's side label or the link type. A circle grows with the node's degree, up to a cap.

The API returns one hop of direct links per request. Expand a node — Enter, a double-click, or the node menu — to fetch and draw that node's neighbours. Group and class nodes expand to their members (up to 40 objects) and to the full structure. The whole scene is capped at 400 nodes, with a visible hint when the cap is reached.

The toolbar has Fit, Re-layout, and Open full size / Close full size. Use full size when the pane is too small to read the scene.

Interacting

  • The canvas uses a force layout. Fit reframes the current scene without moving nodes and without clearing pins. Re-layout clears pins, reseeds every node and restarts the layout, then fits the result.
  • Drag a node to pin it where you drop it. The selected node's inspector card keeps a Pin / Unpin control that stays on the card and toggles: Pin fixes the node at its current position, Unpin releases it. Unpin does not re-run the layout. A click on a pinned node does not release the pin; only Unpin or Re-layout does.
  • Right-click, Ctrl/Cmd+Enter, Shift+F10 or the context-menu key opens a node menu. Object nodes offer one Link <relation>… item per relation and direction. A value node offers Open value, which opens the owning object. In the model graph a type node opens that type in Object types.
  • The menu opens next to the node, just outside the circle and its caption, so it does not cover its own node. Whenever there is room, the gap to the node's edge is at most 16 px. A crowded pane can still push the menu further away, and it may then cover another label.
  • A group node has its own menu with Show members, the same expansion as Enter or a double-click. A class or structure node offers Expand. The canvas menu with Fit and Re-layout belongs to empty canvas, not to a group node.
  • Opening a node menu with the mouse also moves keyboard focus to that node, so the next Shift+F10 opens the same node's menu rather than the last node reached with Tab. Escape closes the menu and leaves a visible focus ring.
  • Right-click on empty canvas never shows the browser menu. It opens the graph menu with Fit and Re-layout, the same actions as the toolbar.
  • Zoom, pan and node drag belong to the user. Opening the graph, including after a real reload (F5), fits the scene so every visible node and every shown caption stays inside the visible graph frame. Entering and leaving Open full size also fits while the camera is still untouched. Both paths wait for the same complete measured free frame: the pane and canvas size staying unchanged for a couple of animation frames, the measured inspector box when the bottom or side card is open, and the measured label boxes, including captions such as Food and long names on long names on the focus object and on direct link peers, including room reserved for peers while their names resolve, that may arrive a moment after the first paint. The frame excludes pane chrome, so a narrow pane (around 230 px) with the bottom inspector card open fits above the card instead of clipping the scene. After you have zoomed, panned or dragged a node, the camera belongs to you. A viewport change, such as a pane resize or entering or leaving full size, keeps the same zoom and remaps the world point at the old frame centre to the new frame centre, so the view is not parked in a corner and clipped. Once the initial load has settled, adding a link, expanding a group or letting a late caption arrive never refits the camera on its own.

Labels are drawn when the graph is settled. A small graph labels every edge; a larger or zoomed-out one labels the selected, hovered or focused node's edges at rest. Edge labels never overlap each other or node captions: a label that cannot find a free spot is hidden, and a caption that would sit under a shown label is hidden too.

Model graph

The data model has a read-only Model graph. It draws one node per entity type with its object count and one edge per link type and end pair, labelled with the link name and cardinality (for example Articles 1–n). Expanding a type shows the structures it may use. The model graph does not edit anything.