Releases: ditrit/leto-modelizer-plugin-core
Releases · ditrit/leto-modelizer-plugin-core
Release version 0.7.0
[0.7.0] - 2022-10-05
Added
- Added a feature that resets the component to its previous position when it is dropped in a wrong container.
Fixed
- Add
childrenTypes
inComponentDefinition
's props. - Update
ComponentDefinition
's tests.
Release version 0.6.0
[0.6.0] - 2022-10-04
Added
- Demo of
DefaultDrawer
. - Add feature to drag and drop component into container components in
DefaultDrawer
. - Install
interactjs
library. - Added a feature to filter the components that can enter a container.
- Add new attribute
childrenTypes
in theComponentDefinition
class.
Changed
- Updated the demo for more relevance
Fixed
- Fix the bug that does not define the position of components if no 'container' component exists
Release version 0.5.0
[0.5.0] - 2022-09-01
Added
- Add property
defaultFileName
in methodrender
ofDefaultRender
to indicate the default file name of new component.
Changed
- Method
render
inDefaultRender
have to return an array ofFileInput
- Method
parse
inDefaultParser
have to use an array ofFileInput
asinputs
- Method
isParsable
inDefaultParser
have to useFileInformation
instead offileName
- Replace
name
byfileName
getter inFileInformation
Removed
- Remove constructor from
DefaultMetadata
- Remove expected
resources
from plugin index
Release version 0.4.0
[0.4.0] - 2022-08-26
Added
- Add property
definition
inComponentAttribute
- Add property
definition
inComponentLink
- Add property
attributeRef
inComponentLinkDefinition
- Add method
setContainerSize
usingbin-pack
library inDefaultDrawer
. - Add feature that drawing components in their container and resize it, in
DefaultDrawer
.
Changed
- Rename fields in
ComponentLink
:from.id
becomesource
to.id
becometarget
- Improve modules export handling
Release version 0.3.1
[0.3.1] - 2022-08-23
Fixed
- Add class
ComponentLinkDefinition
in the export of library - Fix technical documentation
- Fix readme
Release version 0.3.0
[0.3.0] - 2022-08-23
Added
- Install
bin-pack
library. - Add definition model for ComponentLink
- Add properties in ComponentAttributeDefiniton:
linkType
used for specify the type of link (Default
orReverse
)ContainerRef
used for specify the reference of valid container typedefinedAttributes
used to specify definition of subattribute in case ofObject
type
Changed
- Improve
setComponentPosition
method withbin-pack
library. - Rename
linkTypes
tolinkRef
in ComponentAttributeDefinition - Rename method
getComponentDefinitions
togetDefinitions
in DefaultMetadata. - Method
getDefinition
will return an object with component and link definitions.
Removed
- Remove attributes
required
anddisplayable
in ComponentDefinition
Fixed
- Fix link of technical documentation in readme
Release version 0.2.0
[0.2.0] - 2022-08-16
Added
- Workflow to deploy documentation on Github pages
- Create default class structure draw/metadata/parser/render and their individual tests.
- Add default error for parser
- Add
Draw
anddrawDefaultModel
methods to DefaultDrawer.js - Add functions to set default component position.
- Add functions to set default component position.
- Add
moveComponent
method to move svg components in modelizer. - Have specific draw method for template
- Add outline display on select graphical component
Changed
- Improve all class models and their individual tests.
Removed
- Remove function renderString for SVG template.
Release version 0.1.0
Version 0.1.0 - 2022-07-07
Added
- Setup project (eslint, esdoc, unit test, github's workflow).
- Add new classes LetoObjectNode, LetoTypeNode, LetoAttribute, LetoLink.
- Add function renderString for SVG template.