Constructor
# new DefaultConfiguration(propsopt)
Default constructor.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
props |
object
|
<optional> |
Object that contains all properties to set. |
editor |
object
|
<optional> |
Object that contains all properties of editor configuration. |
editor.syntax |
object
|
<optional> |
Syntax configuration. |
restrictiveFolder |
string
|
<optional> |
Restrictive folder for new component if provided. |
defaultFileName |
string
|
<optional> |
Default file name for new components. |
defaultFileExtension |
string
|
<optional> |
Default file extension for components. |
tags |
Array.<Tag>
|
<optional> |
All plugin tags. |
isFolderTypeDiagram |
boolean
|
<optional> |
True if diagram type is folder, otherwise false. |
extraResources |
Array.<object>
|
<optional> |
List of extra resources to register. An extra resource is model name that can't be set in Component. |
extraResources.type |
string
|
<optional> |
Type of resources can be markers, links and icons. You can set models, but only component can use models. |
extraResources.name |
string
|
<optional> |
Name of SVG model to render the resource. |
rootContainer |
object
|
<optional> |
Configuration of root container in the scene. |
rootContainer.margin |
number
|
<optional> |
Margin inside the root container. |
rootContainer.gap |
number
|
<optional> |
Gap between component inside the root container. |
container |
object
|
<optional> |
Default configuration of all container in the scene. |
container.margin |
number
|
<optional> |
Default margin inside container. |
container.gap |
number
|
<optional> |
Default gap between component inside container. |
keysBinding |
object
|
<optional> |
Set of keyboard shortcuts for actions performing. |
i18n |
object
|
<optional> |
Object that store all translations. |
Members
Object
# extraResources
List of extra resources to register. An extra resource is model name that can't be set in
Component.