From d8e478bb1850b8673afc25689c56e7e694c5b209 Mon Sep 17 00:00:00 2001 From: Iuliia Kulagina Date: Mon, 11 Sep 2023 17:35:53 +0200 Subject: [PATCH] Fix description in changelog --- CHANGELOG.md | 1 + src/behavior.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fdbc7ae..49030ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ ## 3.2.2.0 +* Add weight option on the formatting pane * Add input/output tooltip values for node * Fix styles for keyboard navigation * Change backward links positions diff --git a/src/behavior.ts b/src/behavior.ts index ec61181..624df5d 100644 --- a/src/behavior.ts +++ b/src/behavior.ts @@ -88,6 +88,7 @@ export class SankeyDiagramBehavior implements IInteractiveBehavior { this.behaviorOptions.nodes.on("click", (event: PointerEvent, node: SankeyDiagramNode) => { const selectableDataPoints: SelectableDataPoint[] = node.selectableDataPoints; + // the following line does not allow nodes multiselection this.clearSelection(); if (!sankeyDiagramUtils.areDataPointsSelected(this.selectedDataPoints, selectableDataPoints)) {