Diagram in Expression Language: Difference between revisions

From QPR ProcessAnalyzer Wiki
Jump to navigation Jump to search
Line 38: Line 38:


</pre>
</pre>
|}
Function to get diagram by diagram id:
{| class="wikitable"
!'''Function'''
!'''Parameters'''
! '''Description'''
|-
||DiagramById
||
* Diagram id (integer)
||
Returns diagram object corresponding to the provided diagram id.
|}
|}

Revision as of 12:52, 12 October 2023

Diagram is a drawing canvas where elements can be added to create user-defined business process and architecture designs. Each diagram belongs to the model in QPR ProcessAnalyzer and there can be several diagrams in each model.

Diagram Properties

Property Description

Diagram functions

Function Parameters Description
DeletePermanently Deletes the diagram permanently.
Modify Dictionary of changes properties Changes the provided properties of the diagram. Parameter is a dictionary containing the properties to be updated. Supported properties are:
  • ModelId (integer): Model id (to move the diagram into different model).
  • Name (string): Diagram name.
  • Description (string): Diagram description.
  • Content (dictionary): Diagram content as dictionary.

Example:


Function to get diagram by diagram id:

Function Parameters Description
DiagramById
  • Diagram id (integer)

Returns diagram object corresponding to the provided diagram id.