Skip to content
SurfaceDocs
FRGet started
DocsModel reference

WorkspaceGraphPresentation · types

Interfaces, values and named contracts for WorkspaceGraphPresentation.

The following types define named objects and their relationships. Tables include inherited properties. Schema-derived types refer to their validated structures; a TypeScript declaration does not replace the compiler’s semantic checks.

WorkspaceGraphLayout

Exact authoring/runtime layout options, with no provider or browser dependency.

export type WorkspaceGraphLayout = z.infer<typeof workspaceGraphLayoutSchema>;

WorkspaceGraphProfile

One admitted layout choice; positions and viewport remain presentation preferences.

export type WorkspaceGraphProfile = z.infer<typeof workspaceGraphProfileSchema>;

WorkspaceGraphPresentation

Closed profile catalogue shared by admission, projection and the browser renderer.

export type WorkspaceGraphPresentation = z.infer<typeof workspaceGraphPresentationSchema>;

All references

Applied examples : Explore the client and its relations

Two visual arrangements present the same linked objects without changing their data.

Configuration

Fragment placed in graphPresentations[].profiles[].layout. Properties and accepted values.

{
  "algorithm": "layered",
  "nodeSpacing": 48,
  "componentSpacing": 64,
  "layerSpacing": 80,
  "direction": "RIGHT",
  "seed": 1
}

Variation and connection

Fragment placed in graphPresentations[].profiles[].layout. Properties and accepted values.

{
  "algorithm": "mrtree",
  "nodeSpacing": 56,
  "direction": "DOWN",
  "aspectRatio": 1.5
}

UI layout example

The illustrative layout below places this configuration in the Clients/Quotes app. Insert each fragment at the stated location, with Field, Query and Action references matching the Model declarations.

  1. North Studio
  2. Quote S-1042
  3. Preparation
  4. Sources
ILLUSTRATIVE LAYOUTClients / Quotes app
SurfaceClients / North StudioExample
WorkspaceGraphPresentation · typesExplore the client and its relations
Clients
North StudioS-1042PreparationSources

The same objects remain accessible from records and tables.

Search for a concept, field or action.Esc