Happy !

Jamir / RoassalPdfExporter2

Project infos

License MIT
Tags
Creation date 2014-01-14
Website

Monticello registration

About RoassalPdfExporter2

RoassalPDFExporter2

Now you can export your Roassal2 visualisations as a PDF!

Not suitable for public consumption. Uses Artefact at is core. Check out Artefact.

Download

Smalltalk Gofer new smalltalkhubUser: 'Jamir' project: 'RoassalPdfExporter2'; package: 'ConfigurationOfRoassalPdfExporter2'; load. (Smalltalk at: #ConfigurationOfRoassalPdfExporter2) loadDevelopment

Example of use

Let's say we want to export a visualisation made with Mondrian (one of Roassal's most used builders) and export it ```Smalltalk | builder | builder := RTMondrianViewBuilder new.

builder nodes: (1 to: 100 by: 10) forEach: [ :each | builder nodes: (1 to: each). builder edgesFrom: [ :v | v // 2 ]. builder clusterLayout. ]. builder gridLayout. builder open. RTPDFExporter exportView: builder view . ```

There are three main commands to do it:

  • RTPDFExporter exportView: anRTView
  • RTPDFExporter exportCanvas: aTrachelCanvas
  • RTPDFExporter export: anRTBuilder

then, to export the visualisation of the example above, we could have use the following command also: Smalltalk " visualization cooking ... " builder open. RTPDFExporter export: builder.

Acknowledgement

This project was sponsored by ObjectProfile. You can direct questions and suggestions to either me directly or the ObjectProfile team =)