Constructor
# new DefaultRender(pluginData)
Default constructor.
Parameters:
Name | Type | Description |
---|---|---|
pluginData |
DefaultData
|
Plugin data storage. |
Members
Methods
# render(files, parentEventId) → {Array.<FileInput>}
Transform all provided components in file inputs.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
files |
Array.<FileInput>
|
Files managed by the plugin. | |
parentEventId |
string
|
null | Parent event id. |
- Generated files from components.
Array.<FileInput>
# renderConfiguration(diagram, file, parentEventIdopt)
Update configuration file content according to components data.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
diagram |
FileInformation
|
Diagram file information. | ||
file |
FileInput
|
Configuration file of components. | ||
parentEventId |
string
|
<optional> |
null | Parent event id. |