Skip to main content

Interface: ClassicWorkspaceProps

Extends

  • BaseDefaultWorkspaceProps

Properties

PropertyTypeDescriptionInherited from

canvas?

CanvasProps

Props for the Canvas component.

BaseDefaultWorkspaceProps.canvas

canvasWidgets?

readonly ReactElement<any, string | JSXElementConstructor<any>>[]

Additional widgets to pass as children to the Canvas component.

BaseDefaultWorkspaceProps.canvasWidgets

classTree?

ClassTreeProps

Props for the ClassTree component.

colorScheme?

"auto" | "dark" | "light"

Sets a color scheme for the UI components.

If set to auto, the component will track the following places in order:

  • <html data-theme="..."> attribute in case it is set to dark;
  • (prefers-color-scheme: dark) media query matches;
  • fallback to the default light color scheme otherwise.

Default

"auto"

BaseDefaultWorkspaceProps.colorScheme

connectionsMenu?

null | Omit<ConnectionsMenuProps, "commands">

Props for the ConnectionMenu canvas widget.

If specified as null, the component will not be rendered.

BaseDefaultWorkspaceProps.connectionsMenu

dropOnCanvas?

null | DropOnCanvasProps

Props for the DropOnCanvas canvas widget.

If specified as null, the component will not be rendered.

BaseDefaultWorkspaceProps.dropOnCanvas

halo?

null | HaloProps

Props for the Halo canvas widget.

If specified as null, the component will not be rendered.

BaseDefaultWorkspaceProps.halo

haloLink?

null | HaloLinkProps

Props for the HaloLink canvas widget.

If specified as null, the component will not be rendered.

BaseDefaultWorkspaceProps.haloLink

instancesSearch?

Omit<InstancesSearchProps, "commands">

Props for the InstancesSearch component.

leftColumn?

Omit<WorkspaceLayoutContainerProps, "children">

Props for the left layout column of the default workspace.

Default

{defaultSize: 275}

linkToolbox?

LinkTypesToolboxProps

Props for the LinkTypesToolbox component.

navigator?

null | Partial<NavigatorProps>

Props for the Navigator canvas widget.

If specified as null, the component will not be rendered.

BaseDefaultWorkspaceProps.navigator

rightColumn?

Omit<WorkspaceLayoutContainerProps, "children">

Props for the right layout column of the default workspace.

Default

{defaultSize: 275, defaultCollapsed: true}

selection?

null | SelectionProps

Props for the Selection canvas widget.

If specified as null, the component will not be rendered.

BaseDefaultWorkspaceProps.selection

toolbar?

null | Partial<ClassicToolbarProps>

Props for the ClassicToolbar canvas widget.

If specified as null, the component will not be rendered.

visualAuthoring?

Omit<VisualAuthoringProps, "children" | "commands">

Props for the VisualAuthoring context component.

BaseDefaultWorkspaceProps.visualAuthoring

zoomControl?

null | Partial<ZoomControlProps>

Props for the ZoomControl canvas widget.

If specified as null, the component will not be rendered.

BaseDefaultWorkspaceProps.zoomControl