From 8c4af2859e92632c3b5fe1b43db016052bb05ba0 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Wed, 8 Apr 2015 12:15:54 +0300 Subject: client/graph_view: show also nodes with non domain types - makes it easier to rename node types --- src/client/view/graph_view.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/client') 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) { -- cgit v1.3.1