summaryrefslogtreecommitdiff
path: root/src/client/view/graph_view.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-04-08 12:15:54 +0300
committerAlon Levy <alon@pobox.com>2015-04-09 06:39:23 +0300
commit8c4af2859e92632c3b5fe1b43db016052bb05ba0 (patch)
tree1a8f32d6a73ea72934a8035e90d45f9eb7d99d7e /src/client/view/graph_view.js
parentf21e84a670003250a373b2a966637aa2ad62ed17 (diff)
client/graph_view: show also nodes with non domain types - makes it easier to rename node types
Diffstat (limited to 'src/client/view/graph_view.js')
-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) {