Skip to content

pharo-graphics/Roassal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roassal

CI

Discord

Pharo 8 Pharo 9 Pharo 10 Pharo 11 Pharo 12

Chat with us on #Roassal

Old code is here: https://github.com/ObjectProfile/Roassal

Roassal is an agile visualization engine for Pharo. Roassal was created to enable interactive data visualization, it contains a different groups of shapes an lines that you can use to build your projects, also animations, attach points, events, layouts and a basic chart library. Roassal use cairo graphics as backend, in a future will support new backends. Roassal allows to user to extent the presentation of any object thanks to the inspector. Also it has integration with spec and also with morphic world

Sister projects: RoassalDocumentation, RoassalExporters.

Pharo Installations

Roassal is included from Pharo 9 to 12. This means that you do not need to install anything else. Pharo contains Roassal 0.9.6b. Two installation flavors are available: stable and latest (a.k.a bleeding-edge).

Stable version

If you wish to install Roassal in Pharo, then execute the following code snippet in a Playground:

Metacello new
    baseline: 'Roassal';
    repository: 'github://pharo-graphics/Roassal';
    load.

Latest version

If you wish to have the lastest release of Roassal, then execute the following code snippet in a Playground, including Mondrian and experimental packages, use:

[Metacello new
    baseline: 'Roassal';
    repository: 'github://pharo-graphics/Roassal';
    load: 'Full' ] on: MCMergeOrLoadWarning do: [:warning | warning load ]

Quick examples

In order to run the following examples they must be loaded by installing the full (bleeding edge) version of Roassal.

Once loaded, you can execute this in a playground:

RSChartExample new example01Markers open

You should see:

portfolio_view

An example animation may be seen using:

RSAnimationExamples new example03Atom open

You should see:

atom

RSExamplesBrowser new open

You should see an interactive browser with left right buttons to browse:

exampleBrowser

RSLayoutStudio new open

You should see a layout editor browser to choose a layout with the current parameters:

layoutStudio

Documentation

Visit the documentation github page

Roassal as a dependent application

If you wish to set a dependency to Roassal in your application, you simply need to add the following in your baseline:

spec baseline: 'Roassal' with: [ spec repository: 'github://pharo-graphics/Roassal/src' ].

To depend on a full version of Roassal, you may use:

baseline: 'Roassal' with: [ spec repository: 'github://pharo-graphics/Roassal/src'; loads: #('Full') ];

Get in touch

Share your enthusiasm by joining the #Roassal channel, in the Pharo discord server: https://pharo.org/community


Acknowledgement

Roassal is a community effort, and we are really grateful to a number of people. In no particular order, big thanks to: Stéphane Ducasse, Martin Días, Pavel Krivanek