Hi,
I tried the new one now. I've defined the component in the template like this,
{
"gridColumn": 0,
"component": "Shape",
"name": "MainImage",
"autoProperty": true,
"location": "./assets/images/pfd/MainImage.png",
"margin": "3",
"imageAlign": "TopLeft",
"isOutline": true
},
Now I'm getting the below error,
core.js:12501 ERROR TypeError: this.namedComponents[name].setDefaultProperty is not a function
at ns.<computed>.propertyMap.<computed> [as setMainImage] (eval at ./node_modules/diagram-library/MindFusion.Diagramming.js (MindFusion.Diagramming.js:1), <anonymous>:1:240248)
at FlowDiagramComponent.push../src/app/diagram/diagram.component.ts.FlowDiagramComp
onent.createCompositeNode (diagram.component.ts:440)
May I know how to set image in this Shape component?
Regards,
Kannan
Lyubo wrote on Jul 30
th, 2019 at 7:35am:
Hi,
Did you try the files from the zip i just posted? They were created just an hour ago and should fix the issue you reported. They are not the same as the ones we posted before.
Regards,
Lyubo