Components

ProcessViewer

<ProcessViewer loadedContract defaultViewerHeight />

Constructor

# <ProcessViewer loadedContract defaultViewerHeight />

Displays the loaded contract process model. Changes are not saved.

PropTypes:
Name Type Required Description Default
loadedContract object No Loaded contract from store.
defaultViewerHeight number No App started indicator from store.

View Source components/ProcessViewer.js, line 31

Members

Object

# inner constant canvasRef

Canvas HTML element for modeler reference hook.

View Source components/ProcessViewer.js, line 57

Object

# inner constant modelerRef

Process modeler object reference hook.

View Source components/ProcessViewer.js, line 41

Object

# inner constant processViewerContainerRef

Process viewer container HTML element reference hook.

View Source components/ProcessViewer.js, line 49

Object

# inner constant propertiesPanelRef

Properties panel HTML element for modeler reference hook.

View Source components/ProcessViewer.js, line 65

Methods

# inner handleResize(event, size)

Updates the value of "viewerHeight" when user drags the corner of Resizable component.

Parameters:
Name Type Description
event Object

Triggered event.

size Object

Updated size of Resizable component.

View Source components/ProcessViewer.js, line 89

# inner openDiagram(xml)

Attempts to open a diagram in XML with process modeler.

Parameters:
Name Type Description
xml string

View Source components/ProcessViewer.js, line 123