Programatic update position on jsPlumb - 6.81.0 - Angular 18

Discussão em 'Angular' iniciado por Arthur Klein, Março 11, 2025.

  1. Arthur Klein

    Arthur Klein Guest

    When trying to redraw, the position of the node/group doesnt update on the jsPlumb 6.81.0

    The event is correctly fire, but the updateNode or Group do not do anything on the position.

    May i know what we need to do to make it work correctly ?

    surface?.bind(EVENT_NODE_MOVE, (event: VertexMovedParams) => { const group = toolkit?.getGroup(group-${event.vertex.id}); console.log(group); if (group) { toolkit?.updateGroup(group, { left: event.pos.x - 8, top: event.pos.y + 217, }); //surface.repaint(group, true); } });

    I'm trying to make move my node programmatically with the bind event.

    Continue reading...

Compartilhe esta Página