summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/view/graph_view.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js
index fba5a7f7..a6a91c23 100644
--- a/src/client/view/graph_view.js
+++ b/src/client/view/graph_view.js
@@ -182,7 +182,9 @@ function GraphView(spec) {
update_window_size();
function node__is_shown(d) {
- return temporary || filter_states[d.type];
+ var state = filter_states[d.type];
+
+ return temporary || state === undefined || state;
}
function link__is_shown(d) {