@@ -5,9 +5,12 @@ export default {
55 annotations : [
66 {
77 annotationType : primitives . common . AnnotationType . Connector ,
8+ connectorPlacementType : primitives . common . ConnectorPlacementType . Offbeat ,
9+ labelPlacementType : primitives . common . ConnectorLabelPlacementType . Between ,
10+ zOrderType : primitives . common . ZOrderType . Foreground ,
811 fromItem : 5 ,
912 toItem : 81 ,
10- label : { color :"red" , badge : "1" , title : "Connector annotation" } ,
13+ label : { color : "red" , badge : "1" , title : "Connector annotation" } ,
1114 labelSize : { width : 80 , height : 30 } , // new primitives.common.Size(80, 30)
1215 connectorShapeType : primitives . common . ConnectorShapeType . OneWay ,
1316 color : primitives . common . Colors . Red ,
@@ -27,7 +30,7 @@ export default {
2730 {
2831 annotationType : primitives . common . AnnotationType . Shape ,
2932 items : [ 5 ] ,
30- label : { color :"red" , badge : "3" , title : "Cross Out shape annotation" } ,
33+ label : { color : "red" , badge : "3" , title : "Cross Out shape annotation" } ,
3134 labelSize : { width : 120 , height : 50 } , // new primitives.common.Size(120, 50)
3235 shapeType : primitives . common . ShapeType . CrossOut ,
3336 borderColor : primitives . common . Colors . Red ,
@@ -44,7 +47,7 @@ export default {
4447 {
4548 annotationType : primitives . common . AnnotationType . Shape ,
4649 items : [ 81 ] ,
47- label : { color :"red" , badge : "4" , title : "Oval shape annotation" } ,
50+ label : { color : "red" , badge : "4" , title : "Oval shape annotation" } ,
4851 labelSize : new primitives . common . Size ( 100 , 50 ) , // new primitives.common.Size(100, 50)
4952 shapeType : primitives . common . ShapeType . Oval ,
5053 borderColor : primitives . common . Colors . Red ,
0 commit comments