diff --git a/src/app/components/graph/graph-launcher.js b/src/app/components/graph/graph-launcher.js index 5ef43c6f0..8545f7dd3 100644 --- a/src/app/components/graph/graph-launcher.js +++ b/src/app/components/graph/graph-launcher.js @@ -155,6 +155,8 @@ angular var nodes = graph.showFullGraph('exposure:' + node.name); } else if (node && node.resource_type == 'metric') { var nodes = graph.showFullGraph('metric:' + node.name); + } else if (node && node.resource_type == 'semantic_model') { + var nodes = graph.showFullGraph('semantic_model:' + node.name); } else { var nodes = graph.showFullGraph(node_name); } @@ -170,6 +172,8 @@ angular var nodes = graph.showVerticalGraph('exposure:' + node.name, true); } else if (node && node.resource_type == 'metric') { var nodes = graph.showVerticalGraph('metric:' + node.name, true); + } else if (node && node.resource_type == 'semantic_model') { + var nodes = graph.showVerticalGraph('semantic_model:' + node.name, true); } else { var nodes = graph.showVerticalGraph(node.name, true); } diff --git a/src/app/components/model_tree/model_tree.html b/src/app/components/model_tree/model_tree.html index 76ab733d1..db7f31e16 100644 --- a/src/app/components/model_tree/model_tree.html +++ b/src/app/components/model_tree/model_tree.html @@ -78,6 +78,17 @@
+ +
+ Semantic Models + +
+
Projects