New to KendoReactStart a free 30-day trial

ConvertResult

Interface

Result object returned by the diagram data conversion process.

Contains the converted shapes and connections arrays that are ready to be used for diagram rendering. Each array contains properly formatted options objects that conform to the diagram component's expected data structure.

Definition

Package:@progress/kendo-react-diagram

Syntax:

TS
const result: ConvertResult = {
  shapes: [
    { id: '1', x: 100, y: 100, content: { text: 'Node 1' } },
    { id: '2', x: 200, y: 100, content: { text: 'Node 2' } }
  ],
  connections: [
    { from: '1', to: '2' }
  ]
};

Properties

In this article
DefinitionPropertiesconnectionsshapes
Not finding the help you need?
Contact Support