Feature #245

dump flow graph in text and/or .dot format

Added by Eric Blossom about 5 years ago. Updated 6 months ago.

Status:Closed Start date:
Priority:Normal Due date:
Assignee:Eric Blossom % Done:

0%

Category:gnuradio-core
Target version:release-3.3-series
Resolution:

Description

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

dotgraph.diff - dotgraph_dump (4.7 kB) Guest User, 05/28/2008 05:33 pm

dotgraph.patch - patch file for revision 10111 of gnuradio trunk (5.1 kB) Guest User, 12/08/2008 01:18 pm

History

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.

Updated by Tom Rondeau 6 months ago

  • Status changed from Assigned to Closed

Also available in: Atom PDF