React Diagram Interfaces

This section describes interfaces that the Diagram component uses.

CustomCommand

An object that provides information about a custom command in the Diagram UI component.

import { DiagramTypes } from "devextreme-react/diagram"
Type: DiagramTypes.CustomCommand

dxDiagramAddShapeArgs

Contains information about the processed shape.

import { DiagramTypes } from "devextreme-react/diagram"

dxDiagramAddShapeFromToolboxArgs

Contains information about the processed shape.

import { DiagramTypes } from "devextreme-react/diagram"

dxDiagramBeforeChangeConnectorTextArgs

Contains information about the processed connector.

import { DiagramTypes } from "devextreme-react/diagram"

dxDiagramBeforeChangeShapeTextArgs

Contains information about the processed shape.

import { DiagramTypes } from "devextreme-react/diagram"

dxDiagramChangeConnectionArgs

Contains information about the processed connection.

import { DiagramTypes } from "devextreme-react/diagram"

dxDiagramChangeConnectorPointsArgs

Contains information about the processed connector.

import { DiagramTypes } from "devextreme-react/diagram"

dxDiagramChangeConnectorTextArgs

Contains information about the processed connector.

import { DiagramTypes } from "devextreme-react/diagram"

dxDiagramChangeShapeTextArgs

Contains information about the processed shape.

import { DiagramTypes } from "devextreme-react/diagram"

dxDiagramConnector

An object that provides information about a connector in the Diagram UI component.

import { DiagramTypes } from "devextreme-react/diagram"
Type: DiagramTypes.dxDiagramConnector

dxDiagramDeleteConnectorArgs

Contains information about the processed connector.

import { DiagramTypes } from "devextreme-react/diagram"

dxDiagramDeleteShapeArgs

Contains information about the processed shape.

import { DiagramTypes } from "devextreme-react/diagram"

dxDiagramItem

An object that provides information about an item (shape or connector) in the Diagram UI component.

import { DiagramTypes } from "devextreme-react/diagram"
Type: DiagramTypes.Item

dxDiagramMoveShapeArgs

Contains information about the processed shape.

import { DiagramTypes } from "devextreme-react/diagram"

dxDiagramResizeShapeArgs

Contains information about the processed shape.

import { DiagramTypes } from "devextreme-react/diagram"

dxDiagramShape

An object that provides information about a shape in the Diagram UI component.

import { DiagramTypes } from "devextreme-react/diagram"
Type: DiagramTypes.dxDiagramShape