File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
1111- Disable changing an entity IRI in a form when ` MetadataProvider.canModifyEntity() ` disallows it.
1212- Move link vertices together with source and target elements if both are selected in ` Selection ` component.
1313- Re-validate entities and links with ` ValidationProvider ` when added or removed via undo/redo.
14+ - Fix marking ` AnnotationLink ` with ` TemplateProperties.LayoutOnly ` when importing a diagram layout.
1415
1516#### 💅 Polish
1617- Remove superfluous "Type" fields from the default "Edit entity" dialog.
Original file line number Diff line number Diff line change 11import type { LinkTypeIri } from '../data/model' ;
2- import { TemplateState } from '../data/schema' ;
2+ import { TemplateProperties , TemplateState } from '../data/schema' ;
33
44import { Element , Link } from '../diagram/elements' ;
55
@@ -71,9 +71,9 @@ export class AnnotationLink extends Link {
7171 sourceId : options . source . id ,
7272 targetId : options . target . id ,
7373 vertices,
74- linkState : options . mapTemplateState (
75- TemplateState . fromJSON ( linkState )
76- ) ,
74+ linkState : options
75+ . mapTemplateState ( TemplateState . fromJSON ( linkState ) )
76+ . set ( TemplateProperties . LayoutOnly , undefined ) ,
7777 } ) ;
7878 }
7979
You can’t perform that action at this time.
0 commit comments