feat: Visualize MapAction action in transparency
Issue
I'm creating a burr graph out of a yaml config, with potential recursive map_action inside. It might become a bit complex and I would like to visualize the full graph in transparency instead of the MapAction subgraphs being wrapped inside a single node.
Solution I'd like
An option to display a MapAction node in transparency (displaying all the subgraphs inside it).
Considered Alternatives
I'm going through an intermediate process using networkx while parsing my yaml file. So I visualize first using networkx. But I may miss some mistakes in my config that would become clear and obvious once I display the full burr graph.
@elijahbenizzy this should technically be feasible right?
So the challenge is:
MapActionis determined at runtime -- E.G. from the current application state- Thus we cannot visualize it without the application's state...
That said, I think we should be able to add in a compile-time map_action, or another class that gives the set of graphs it can be...
Curious -- does yours depend on runtime concerns? That is, is it always the same exact set of subgraphs? Or is it always the same?
E.G. the actions() depends on the current state + inputs + context. We could probably add a state/input/context parameter to some visualize_execution function that would handle this, but it might not be foolproof (E.G. if the state changes).