jquery.flowchart icon indicating copy to clipboard operation
jquery.flowchart copied to clipboard

Change Label

Open joebetmutia opened this issue 7 years ago • 3 comments

Hi

Thanks for creating the plugin.. it helps a lot in our current project..

I would like to ask.. I can see that theres a way to edit the "text" using setOperatorTitle

but we also wanted to edit the "label" of the operator..

is there anyway we can do that? thanks!

joebetmutia avatar May 04 '18 03:05 joebetmutia

Hi,

You are welcome. You could do this by getting the operator's data using getOperatorData, changing what you want in the operator's data, and then setting back again using setOperatorData.

Thanks,

sdrdis avatar May 04 '18 12:05 sdrdis

Hi. Is it possible to just change the label on a specific input or output without have to get all data, edit it and set it back ? I may have multiple elements and read and writing all of it seems excessive.

Any examples on how to do this. Thanks

MadTomT avatar Dec 10 '18 21:12 MadTomT

Hi. For the moment it is not a feature, sorry. Thanks.

sdrdis avatar Dec 10 '18 23:12 sdrdis