Closed a-kuzina closed 1 year ago
Try
editor.editor_mode = 'fixed';
View other modes in readme
Thank you!
In this mode this.editor.on('nodeSelected' ...
do not work because nodes can't be selected, but I worked it out with this.editor.on('click' ...
event, so it works great!
Hello, is there any way to disable moving\drag-and-drop of nodes? I want to generate a diagram and show it to users with the ability to click on nodes and open a special popup. And they have to move arount diagram (wich is looks like drag-and-drop on background). But I don't want them to be able to move nodes around. So I can't just disable all events. What should I do?
I am using drawflow in angular html:
<div id="drawflow"></div>
ts:this.editor = new Drawflow(drawFlowHtmlElement);
I create nodes as html strings and then usethis.editor.addNode(...)
to add them