Ticket #245 (enhancement)

Opened 7 months ago

Last modified 6 months ago

dump flow graph in text and/or .dot format

Status: assigned

Reported by: eb Assigned to: eb (accepted)
Priority: normal Milestone: to-be-decided
Component: gnuradio-core Version: 3.1svn
Keywords: Cc:

Generate text and graphical representation of a flow graph. It'd probably be useful to have both the before and after flattening versions.

Attachments

dotgraph.diff (4.7 kB) - added by guest on 05/28/08 10:33:53.
dotgraph_dump

Change History

05/20/08 12:29:36: Modified by eb

  • status changed from new to assigned.
Date: Tue, 20 May 2008 11:14:18 -0700
From: Johnathan Corgan <jcorgan@corganenterprises.com>
Subject: Re: [Discuss-gnuradio] tracing a connection stack
To: Eric Blossom <eb@comsec.com>
Cc: "Brett L. Trotter" <brett@webtrotter.com>, discuss-gnuradio@gnu.org

On Tue, May 20, 2008 at 11:07 AM, Eric Blossom <eb@comsec.com> 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.

05/28/08 10:33:53: Modified by guest

  • attachment dotgraph.diff added.

dotgraph_dump

05/28/08 10:34:36: Modified by guest

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.