[kepler-dev] image representation of workflow

Christopher Brooks cxh at eecs.berkeley.edu
Thu May 7 11:59:04 PDT 2009


Hi Paul,
A month or two ago, I hacked in a -printPDF option into
ptolemy/actor/gui/MoMLApplication.java.  This command line argument
looks for the first printer with PDF in the name, sets the background
to white and prints.  It is a hack.

See also http://ptolemy.berkeley.edu/ptolemyII/ptIIfaq.htm#pdf

The advantage of using PDF is that it prints much better than a bitmap.

It would be nice if there was a way to export a bitmap, probably png.

_Christopher

Paul Allen wrote:
> Is there a tool out there to generate an image representation of a 
> workflow? What I want to do is hand this tool a MoML file and have it 
> return an image as if it took a snapshot of the Kepler GUI work area?
> 
> I know that Tristan King had something like this in Hydrant, but I'm not 
> sure if it was Python- or Java-based. I'd very greatly prefer a 
> Java-based tool.
> 
> Thanks,
> -Paul
> 
> 
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev

-- 
Christopher Brooks (cxh at eecs berkeley edu) University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718	      (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 (W-F) 510.655.5480


More information about the Kepler-dev mailing list