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>;
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.
- North Studio
- Quote S-1042
- Preparation
- Sources
The same objects remain accessible from records and tables.