Skip to content

Commit

Permalink
Filter out undefined edges
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-mck committed Aug 15, 2023
1 parent cbdfbc9 commit 5e5b66e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Please follow the established format:
- Use present tense (e.g. 'Add new feature')
- Include the ID number for the related PR (or PRs) in parentheses
-->

## Major features and improvements

- Add support for displaying dataset statistics in the metadata panel. (#1472)
Expand All @@ -17,6 +18,7 @@ Please follow the established format:
- Fix broken SVG/PNG exports in light theme. (#1463)
- Fix dataset and global toolbar error with standalone React component (#1351)
- Fix `ImportError` as kedro-datasets is now lazily loaded (#1481).
- Fix the issue of encountering a blank page in Safari when interacting with the modular pipeline. (#1462)

# Release 6.3.4

Expand Down
5 changes: 4 additions & 1 deletion src/components/flowchart/draw.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,10 @@ export const drawEdges = function (changed) {
const updateEdges = this.el.edges;
const enterEdges = this.el.edges.enter().append('g');
const exitEdges = this.el.edges.exit();
const allEdges = this.el.edges.merge(enterEdges).merge(exitEdges);
const allEdges = this.el.edges
.merge(enterEdges)
.merge(exitEdges)
.filter((edge) => edge);

if (changed('edges', 'focusMode', 'inputOutputDataNodes')) {
enterEdges.append('path');
Expand Down

0 comments on commit 5e5b66e

Please sign in to comment.