@YogeshMohan wrote:
Hi,
Is there any way threw which i can remove label editable field dynamically at run time when any user creates link from one node to another node i just want to remove start and end edge label editable fieldusing this code i am able to remove the text from label but i am not be able to remove its editable field
var model = myDiagram.model; model.startTransaction("setProperty"); var data = myDiagram.selection.first().data // get the first node data model.setDataProperty(data, 'text', ''); model.commitTransaction("setProperty");
Posts: 2
Participants: 2
