Prints a summary of all tokens, channels, and node counts.
Outputs a human-readable summary of the current node graph structure, including the number of tokens, channels, and nodes per domain. Useful for debugging and introspection.
406{
409 "=== NodeGraphManager Summary ===");
410
414
417 "Token {}: {} nodes across {} channels",
418 static_cast<int>(token), total_nodes, channels.size());
419
420 for (auto channel : channels) {
423
426 " Channel {}: {} nodes, {} networks",
427 channel, root.get_node_size(), networks.size());
428
429 for (const auto& network : networks) {
430 if (network) {
433 " Network: {} internal nodes, mode={}, enabled={}",
434 network->get_node_count(),
435 static_cast<int>(network->get_output_mode()),
436 network->is_enabled());
437 }
438 }
439 }
440 }
441}
#define MF_PRINT(comp, ctx,...)
NodeGraphManager(uint32_t sample_rate=48000, uint32_t block_size=512)
Creates a new NodeGraphManager.
size_t get_node_count(ProcessingToken token) const
Gets the total number of nodes registered under a given token.
RootNode & get_root_node(ProcessingToken token, unsigned int channel)
Gets or creates the root node for a specific token and channel.
std::vector< ProcessingToken > get_active_tokens() const
Gets all currently active processing tokens (domains)
std::vector< std::shared_ptr< Network::NodeNetwork > > get_networks(ProcessingToken token, uint32_t channel=0) const
Get all networks for a specific token.
std::vector< unsigned int > get_all_channels(ProcessingToken token) const
Gets all channel indices for a given processing token.
@ NodeProcessing
Node graph processing (Nodes::NodeGraphManager)
@ Nodes
DSP Generator and Filter Nodes, graph pipeline, node management.