MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ inspect_node_graph()

MAYAFLUX_API void MayaFlux::Portal::Forma::inspect_node_graph ( )

Open or show the NodeGraphManager inspection window.

First call creates a dedicated window, builds the InspectResult, and schedules tap_all() via Bridge. Subsequent calls show() the existing window.

Definition at line 300 of file Forma.cpp.

301{
302 if (g_inspect_nodes_window) {
303 g_inspect_nodes_window->show();
304 return;
305 }
306 g_inspect_nodes_window = g_window_manager->create_window(
307 Core::WindowCreateInfo { .title = "NodeGraphManager", .width = k_inspect_w, .height = k_inspect_h });
308 g_inspect_nodes_window->show();
309 auto surface = create_surface(g_inspect_nodes_window, "NodeGraphManager");
310 LayoutCursor cursor;
311 auto& result = g_inspect->node_graph_manager(surface, cursor);
312 g_bridge->spawn_sync(result.group.header.header_id, [&result] { result.tap_all(); });
313}
std::string title
Window title/identifier.
Configuration for creating a single window instance.

References create_surface(), and MayaFlux::Core::WindowCreateInfo::title.

+ Here is the call graph for this function: