Hello,
I created a custom shape library with few of custom shapes with this method, and with Extension APIs I only can get some common predefined properties of the used shapes, none of them reflects the custom shape information like Library name or shape type! Is there a way to pragmatically identify/read the shape type a library inside a LucidChart plugin?
Note:
As a workaround for now, I used the textarea “name” property where I store some info of the shape itself so that I retrieve and identify the used shape, but it doesn’t look ideal for me!
{
"properties": t],
"style": {
"fill": { "type": 'color', "color": '#D7FAF55F', },
"stroke": { "color": '#808080', "width": 6 },
"rounding": 50,
},
"geometry": e
{
"type": "rect"
},
],
"textarea" : {
"name" : "customeLibrary000customShapeType",
"text" : "Specific Module",
"editable": true,
"style": { "color": "#0a0a0a" },
},
}