Reputation: 2527
After I construct a DiagramBuilder and connect systems via ports, I would like to see this system as a visual block diagram, sort of like simulink. Is there a way to export a png of the block diagram or something?
Upvotes: 0
Views: 222
Reputation: 2449
After building the DiagramBuilder into a Diagram, you can call the System::GetGraphvizString function on the Diagram object.
There's an example in the dynamical_systems.ipynb tutorial.
Upvotes: 1