Skip to content

v0.10.5

Latest

Choose a tag to compare

@github-actions github-actions released this 15 Nov 15:38
Immutable release. Only release title and notes can be modified.
55e7b04

Bug Fixes

Drawing

  • Fix the source and target labels of an edge overlapping when configs.edge.label.padding takes half of the edge or more. (#404)
    • This happened on short edges, when zoomed out, and on edges between nodes at the same position. The label area now stops at the middle of the edge, and the labels there keep running along the edge toward their own ends.
    • The area given to <v-edge-label> has a new optional direction field, the unit vector from the source to the target.

Pointer events and selection

  • Fix presses with the middle, back and forward mouse buttons emitting clicks, as native click does not. (#398)
    • They no longer emit "*:pointerdown", "*:pointerup", "*:click" or drag events, and no longer change the selection. A drag with the middle button on a node now pans the view instead of moving the node.
  • Fix "node:dragstart" and "node:dragend" not pairing up for a node that starts or stops following a drag of selected nodes. (#399)
    • A node deselected or made undraggable during the drag got no "node:dragend", so ForceLayout kept it pinned.
    • The dragging cursor and transitions no longer come back while another finger is still dragging a node.
  • Fix taps and drags on the background deciding "view:click" wrongly. (#411)
    • A touch that the browser took over to scroll or pinch no longer clears the selection like a tap.
    • A finger that dragged the background no longer emits "view:click" when released after a tap of another finger.
  • Fix the graph getting stuck when a release does not reach the page, for example over an iframe or while the window has lost focus. (#411, #413)
    • Taps on the background no longer stop emitting "view:click", other objects no longer ignore presses, pan and zoom no longer stay off, and a node no longer keeps following a mouse with no button down.
    • The press now ends with "*:pointerup" and no click, and a dragged node gets "node:dragend" at the position of its last move.

Dependencies and Build Changes

  • Bump up dependencies
    • @typescript-eslint/parser 8.72.1 (#400)
    • @vue/language-core, vue-tsc 3.3.14 (#402)
    • eslint 10.14.0 (#403)
    • eslint-plugin-vue 10.12.0 (#405)
    • oxfmt 0.75.0 (#406)
    • oxlint, eslint-plugin-oxlint 1.90.0 (#409)
    • sass 1.107.1 (#408)

Full Changelog: v0.10.4...v0.10.5