dump flow graph in text and/or .dot format
|Assignee:||Eric Blossom||% Done:||
Generate text and graphical representation of a flow graph.
It'd probably be useful to have both the before and after flattening versions.
Updated by Eric Blossom about 5 years ago
- Status changed from New to Assigned
Date: Tue, 20 May 2008 11:14:18 -0700 From: Johnathan Corgan <[email protected]> Subject: Re: [Discuss-gnuradio] tracing a connection stack To: Eric Blossom <[email protected]> Cc: "Brett L. Trotter" <[email protected]>, [email protected] On Tue, May 20, 2008 at 11:07 AM, Eric Blossom <[email protected]> wrote: > On Tue, May 20, 2008 at 12:09:27PM -0500, Brett L. Trotter wrote: >> Is there a simple way to print out a list of what was connected into a flow >> graph? > > Not right now. However, just last night I was thinking about > something similar. Give me a day or so and I'll put something > together. Eric--there is a dump() method on gr_flat_flowgraph objects currently used for debugging. You can create a method on gr.top_block (exposed via swig) that would call dump() on the d_ffg member.
Updated by Guest User almost 5 years ago
As posted previously as a proposition to the patch mailinglist but with no reaction on it, attached is a patch to add a dot-dump to the gnuradio runtime.
This was designed for an older revision of gnuradio. I don't know if it needs changes to run with the newest revision, but this shouldn't be too hard to figure out.