Questions tagged [roassal]

Roassal is an agile visualization engine for Pharo Smalltalk and VisualWorks Smalltalk.

Roassal is an agile engine available for , Smalltalk and . Roassal is made to visualize and interact with arbitrary data, defined in terms of objects and their relationships. Roassal is commonly employed to produce interactive visualizations.

There exists a 3D version of Roassal and a library to draw curves, graphes and histograms named Graph-ET.

Roassal is part of the Suite.

Roassal is available under the MIT License.

Example showing radial tree layout: Roassal using radial tree layout

Documentation:

Where to get Roassal:

16 questions
6
votes
1 answer

Edge from a node to itself in Roassal

Is there a way to make Roassal draw an edge from one node to itself? I looked at a bunch of the examples and I cannot find any that does that, and simply adding an edge in the source code produces nothing. i.e. view shape rectangle size: 1. view…
BoriS
  • 907
  • 5
  • 13
4
votes
1 answer

How to format chart in Roassal 3?

I made a chart following the examples in the documentation. I find the title and x/y labels too close to the plot itself, and the tick labels too small. How do I format them? x := -3.14 to: 3.14 count: 100. y := x sin. c := RSChart new. p :=…
melkyades
  • 1,719
  • 11
  • 20
3
votes
1 answer

Scale view to fit window

I use Roassal graphs in Glamour panes, and I wonder if there is a way to zoom and center the Roassal graph so that it fits entirely into its Glamour pane. Can this be done?
Uko
  • 13,134
  • 6
  • 58
  • 106
3
votes
2 answers

Graph-ET x-axis labels

I drew a bar diagram for my benchmarks in Graph-ET on Pharo. Does anybody know how to add the labels to x-axis? I want to write the name of the benchmark under the each of bars.
Natalia
  • 33
  • 2
3
votes
2 answers

Change edge name that appears in popup on hover

How can I change a text that appears whe you hover over edge in Roasal? I have not found this anywhere on the web
Uko
  • 13,134
  • 6
  • 58
  • 106
2
votes
2 answers

Display array of objects as a table

I have an array of Candle objects as shown below: Is there a way in Pharo to display the array in a tabular format? | date | open | high | low | close | |------------+------+------+-----+-------| | 2018-12-28 | 10 | 20 | 30 | 40 | |…
dharmatech
  • 8,979
  • 8
  • 42
  • 88
2
votes
3 answers

Make edges not clickable in Roassal visualization from within a Glamour browser

I draw a dynamic callgraph with Roassal from within a Glamour browser in Pharo 2.0. By default not only the nodes, but also the edges are clickable. As i have no further information to display for the edges, i want them not to be clickable. How do i…
MartinW
  • 4,966
  • 2
  • 24
  • 60
2
votes
0 answers

Avoid duplication of edges in roasal

Is there some way to avoid duplication of the edges in Roasal? I'm building a diagram of the meta-model form Moose, and I have some opposite relations but I don't have a reason to show them in both directions.
Uko
  • 13,134
  • 6
  • 58
  • 106
1
vote
2 answers

How to add horizontal line labels at end of line when using multiple plots in Roassal3

I'm trying to use Roassal3, in Pharo 10, to visualise multiple series of data. I've managed to draw the chart fine but want to label the lines. I tried using RSLegend to display the text with corresponding colour boxes (corresponding to the line…
Tony Weddle
  • 2,081
  • 1
  • 11
  • 15
1
vote
2 answers

How to add a bounding box to a composite shape in Roassal 3?

I'm trying to draw a bounding box around a group of shapes. I get everything in the scene, but I don't know how to make the bounding box and the text get correctly aligned: c := RSCanvas new. text := RSGroup new. foo := RSLabel new…
melkyades
  • 1,719
  • 11
  • 20
1
vote
0 answers

Refresh Mondrian views

I am trying to implement some visualizations using Mondrian in Pharo 3.0. My main problem is that I do not find a way to dynamically update the Mondrian view: I am able to remove nodes doing view removeAllEdgesTo: node; removeNode: node. but I…
Andrea
  • 20,253
  • 23
  • 114
  • 183
1
vote
0 answers

Roassal: Conditional X Axis Labeling

In my chart, the x axis represents the Date. I'd like to only label the first day of a month. Specifying a number of ticks is problematic because they can be fractional. What I'm looking for is something like: someRoassalObject if: [ :point |…
Sean DeNigris
  • 6,306
  • 1
  • 31
  • 37
1
vote
1 answer

How to fix StrikeFont»doesNotUnderstand: #glyphRendererOn: when rendering text in Roassal 2 on Pharo 3

When you load Roassal 2 on Pharo 3 and try anything that involves text rendering, you get the following error message: StrikeFont»doesNotUnderstand: #glyphRendererOn: I could find some advice in the forums, that you have to enable True Type…
MartinW
  • 4,966
  • 2
  • 24
  • 60
1
vote
0 answers

GraphET Pharo Smalltalk add milestones overlay

I'm trying to do this diagram using GraphET: The idea is to overlay a single 2DDiagram with milestones, composed of a vertical dotted line and a label located below the baseline. Looking at the GET code I found several potential ways to do this,…
Nicolas Castro
  • 1,436
  • 1
  • 14
  • 15
0
votes
1 answer

How do I dynamically add elements to the Roassal RTGrapher instance?

Object subclass: #MultiData instanceVariableNames: 'b' classVariableNames: '' package: 'CFR-Extensions' initialize b := RTGrapher new. b add: (self makeD: #('hello' 1 2 1)). b add: (self makeD: #('test' 1 2 11)). …
Marko Grdinić
  • 3,798
  • 3
  • 18
  • 21
1
2