diff --git a/.changes/unreleased/Docs-20230807-152548.yaml b/.changes/unreleased/Docs-20230807-152548.yaml new file mode 100644 index 000000000..84e65bd68 --- /dev/null +++ b/.changes/unreleased/Docs-20230807-152548.yaml @@ -0,0 +1,6 @@ +kind: Docs +body: Display semantic model details in docs +time: 2023-08-07T15:25:48.711627-05:00 +custom: + Author: emmyoop + Issue: "431" 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