Skip to content

Commit b4ce340

Browse files
author
mbrill-nt
committed
Edges containing NULL as a target or source value are now filtered.
1 parent 0422474 commit b4ce340

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/processing/graph_generator.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ class GraphGenerator {
198198
const filteredData = _(data)
199199
.filter(e => !!e.source)
200200
.filter(e => e.source !== e.target)
201+
.filter(e => e.target !== null || e.source !== null)
201202
.value();
202203

203204
const edges = _.map(filteredData, element => this._createEdge(element));

0 commit comments

Comments
 (0)