Repository navigation
Immutable
release. Only release title and notes can be modified.
Bug Fixes
Drawing
- Fix the source and target labels of an edge overlapping when
configs.edge.label.paddingtakes 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
areagiven to<v-edge-label>has a new optionaldirectionfield, 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
clickdoes 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.
- They no longer emit
- 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", soForceLayoutkept it pinned. - The
draggingcursor and transitions no longer come back while another finger is still dragging a node.
- A node deselected or made undraggable during the drag got no
- 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.
- Taps on the background no longer stop emitting
Dependencies and Build Changes
- Bump up dependencies
Full Changelog: v0.10.4...v0.10.5