From 010caa623615360cccc6aea5fc1d09eb1793defc Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Fri, 22 Feb 2019 17:21:38 +0100 Subject: [PATCH] sculpt: omit the sculpt helpers from the graph The runtime view, launcher query, and depot query increase the complexity of the graph without providing a tangible value to the user. This patch omits those components from the runtime view to make the graph less confusing. --- repos/gems/src/app/sculpt_manager/graph.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/repos/gems/src/app/sculpt_manager/graph.h b/repos/gems/src/app/sculpt_manager/graph.h index 5a80abc333..9add32d26f 100644 --- a/repos/gems/src/app/sculpt_manager/graph.h +++ b/repos/gems/src/app/sculpt_manager/graph.h @@ -168,6 +168,13 @@ struct Sculpt::Graph Start_name const name = start.attribute_value("name", Start_name()); + /* omit sculpt's helpers from the graph */ + bool const blacklisted = (name == "runtime_view" + || name == "launcher_query" + || name == "depot_query"); + if (blacklisted) + return; + Runtime_state::Info const info = _runtime_state.info(name); gen_named_node(xml, "frame", name, [&] () {