atlasan

Results 76 comments of atlasan

This is true. I would instead change the code to call the function only with the correct event instead of breaking on a "bad" one. ``` if (event.type === "mousedown"){...

Hi @mcejp! How nodes are displayed touches many settings and configurations, the title and the whole node has different variables and different portions of the code are involved. I've made...

I remeber seeing that un-finished part in the code. You can heck `onMenuNodeToSubgraph` That would be a nice one.

The single source file actually includes some 4 5 main classes and couple utilities function. Classes could probably be in separated files, they will still be big anyway but some...

I love all the implementation of modules, require, webpack, node and so on.. but I can appreciate an old, compatible, plain style, no dependencies, straight and working on old platforms....

An option to change the link colors based on the slot types was added. ``` slot.link != null ? slot.color_on || this.default_connection_color_byType[slot_type] || this.default_connection_color.input_on : slot.color_off || this.default_connection_color_byTypeOff[slot_type] || this.default_connection_color_byType[slot_type]...

Hi @NickHatBoecker, what about remapping them after serialize? Cycle the serialized array and remap in a new array with the key you prefer (node.id or node.order)

I have a early stage solution for this, currently in debug but promising. Just for triggered/actioned nodes, I'm calling a refreshAncestors function that read the ancestors tree and execute the...

Hi @arepp23 ! The slot drawing is not coded with parametrs, there are static behaviours in the LGraphCanvas.drawNode. Overriding that it's the quick way to have custom control over the...

The editor demo includes a button "Multiview" that shows how to deal with multi-canvas for the same graph (amazing), the minimap is almost done, if the second canvas is inside...