Hi,
I am trying to use exampleClassHierarchy in RTCircularTreeMapBuilder for
visualizing some packages and classes.
First, I think the borderWith: should be a fraction of what already is
defined in the examples, otherwise the borders are too think to visualize
anything correctly.
Second, the borderWidth is proportional to the radius of circle. Is this
intended?
To reproduce, here is an example + screenshot:
| b |
b := RTCircularTreeMapBuilder new.
b shape
color: Color transparent;
borderWidth: 0.01;
borderColor: Color black;
if: [ :cls | cls subclasses isEmpty ] fillColor: [ :cls|
(Smalltalk includesKey: (cls name, 'Test') asSymbol) ifTrue: [ Color green ]
ifFalse: [ Color purple ] ].
b
baseradius: 400;
weight: [ :cls | cls withAllSubclasses size].
b explore: RTObject
using: #subclasses.
b build.
^ b view open
[image: Inline image 1]
Hi!
Big big big problem please. Impossible to work. Download an image and do: self halt
to reproduce the problem.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hello,
I am using Roassal2 (StephanEggermont.40) in Pharo 4. The attached picture
displays a common visualization for inference of local ancestry in
population genetics, I have attached what I am getting now with Grapher.
Input data for such visualization is for example:
1:454 2:1488 1:2546 2:5711 1:14253 2:24411 1:31490 0:41585
(those are like Associations with key 0, 1 or 2 and value 454, 1488, ...
etc)
In the attached picture
Min X is 0 and
Max X is 41500
so the X axis (chromosome positions) is rendered in intervals between 10000.
This is what I am trying now (code is commented where I tried to configure
X axis interval)
| b intv |
intv := 0 to: 40000 by: 10000.
b := RTGrapher new.
ds := RTStackedDataSet new.
ds dotShape color: Color red.
ds
points: #(1 2 1 2 1 2 1 0);
x: intv. "????"
ds barShape width: 99; color: Color red.
"b
minX: 0;
maxX: 41500."
b add: ds.
b axisX noLabel; noTick. b axisY noDecimal.
b build.
I have some questions:
1) There is support to add an interval label to the X axis but preserving
the space relation with the real chromosome position (the X axis) for the
data (points in my example = 454 1488 2546 5711 14253 24411 31490 41585)?
2) How to clear the bar filling?
Any advice or help would be really nice.
Hernán
Hi!
Hernán, PhD student from Argentina working with Santiago V., has produced a JavaScript -> MSE translator. This is still a very early effort, but it looks like to work reliably. We were able to produce MSE for a couple of JavaScript applications.
Hernán is working on a webpage for his exporter. He will advertise it soon.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
I watched Tudor's looong tutorial on PetitParser and I still can't find
a solution for one of my inputs.
I would like to parse a file that includes HTML templates but it is no
HTML file!.
Since there is no PPHTMLParser and the XMLHTMLParser extends the import
by missing pieces, I decided to write my own PPParser.
I have trouble with nested parts now.
How would I parse something like this?:
.....
.....
<template>
<style>
:host {
display: block;
}
</style>
<ul>
<template items="{{items}}">
<li><span >{{item}}</span></li>
</template>
</ul>
</template>
....
....
template is the node I am interested in but how can I keep trac on which
level I am and if I may expect another /template tag or not?
The file also includes other information and could have more than just
one part with "templates".
Is the "indent" support something I should have a look at?
Doru! Thank you for this great presentation! Exeptt for this problem it
included solutions on all my needs!
Thank you!
Sebastian
Dear Moose developers,
I can not find executable VerveineJ anywhere. The link in the
Moosebook [1] is broken.
I am building a new static analysis tool for JVM languages and was
going to use MSE as its output format. I was going to use VerveineJ as
a reference tool that produces MSE files to evaluate this decision
before I immerse myself into the format specification.
Could you help me locate it, please?
Faithfully,
Aleksey
1: http://www.themoosebook.org/book/externals/import-export/external/verveineJ
Hi!
In case you are not aware of it, a great number of the Pharo, Moose, and Roassal community members are on Slack. Slack is a very cool messaging platform. If you want to chat with developers and get instantaneous help on a topic, then Slack simply rocks.
More info on:
http://pharo.org/community
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
hi!
When do we release Moose 6?
I see many are using version 5 but this does not make sense :-)
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
The Glamour presentation of Roassal has several improvement. Check the following video, it summarizes all:
https://vimeo.com/145561301
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
the + and - buttons do not work anymore.
Any idea why?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
Can someone tell me why I can have two entry for a page that has different content?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
With Olivier, we are analyzing a big database schema (around 65 tables and 350 relations between tables).
We try to reverse engineer the schema.
The visualization is not beautiful for several reasons :
1. the only way to position the tables in the visu is using the GridLayout. So there is a spaghetti meal representation what is not easy to understand (please have a look at DB_Schema_All_tables.png)
2. the idea is to linked the columns of two tables. Using RTArrowedLine, it is not beautiful (see DB_Schema_with-arrows) since the attach points are only on South and North Border of the shape whereas we would like to have them also on left and right.
3. Usually, in DB schema, the links between tables are orthogonal multi lines. But in Roassal, the attach point are once again only on top or in bottom of the shape (see DB_Schema_with_Multines).
4. Normally in database representations, the multi lines have arrows but since, in Roassal, the direction of the arrow is computed from the start and end points of the line, it looks ugly in case of multi line edge (see multiline arrows).
5. When a column in a table references another column of the same table, the edge is in the middle of the table but we would like to have a recursive dependency represented as a loop. Is it possible to do that with Roassal (recursive_dependency figure)?
Is there someone working on a real graph representation such as in graphviz where lines do not cross or at minima and so the entities are grouped?
Can we easily add attached point? or define by default at least 4 attach points to box or ellipse?
Is it possible to get multi lines with arrows but where the head of the arrow is computed with the perpendicular of the last segment of the multi line edges?
Two more question that are not visible in these figures:
6. It seems that currently, it is not possible to play with the label font (size, italic, bold…).
7. Is it possible to put a label near an extremity of an edge (such as a role in UML class diagram)? And is it possible to put a label also in the middle of an edge to indicate the name of an association?
Is it possible? If it is not the case, can you enhance Roassal to add these features?
Thanks in advance for your help.
Olivier and Anne
Hi,
With the integration of MooseQuery, a test is failing in Moose 6.0: MooseModelDescriptionTest-testOppositePropertyExist because FAMIXReference is implemented as a link between two FAMIXContainer and should be between a behavioral entity and a class.
The email of Anne and Jean Christophe about this subject has not been answered (https://www.list.inf.unibe.ch/pipermail/moose-dev/2015-June/023740.html).
However, as Doru said in (https://www.list.inf.unibe.ch/pipermail/moose-dev/2015-April/023303.html) :
A Reference refers to an explicit reference to a class in the running code.
So, I moved the incoming/outgoingReferences links to the subclasses of FAMIXContainer.
It should resolve the problem.
Cheers,
Vincent
Vincent
________________________________
Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'usage exclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir imm?diatement l'exp?diteur et de le d?truire. L'int?grit? du message ne pouvant ?tre assur?e sur Internet, la responsabilit? de Worldline ne pourra ?tre recherch?e quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'exp?diteur ne donne aucune garantie ? cet ?gard et sa responsabilit? ne saurait ?tre recherch?e pour tout dommage r?sultant d'un virus transmis.
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
Hi,
is it possible to programatically change the width of Playground/Inspector
panes?
Currently if I want one pane bigger I have to resize both which wastes a
lot of space (I need to resize twice as much).
eg:
I wouldn't mind having a "special playground" just for this particular use
case. There is also Roassal Easel
However I would like to have the code on a side rather than underneath
because code is tall, not wide.
Thanks,
Peter
Hi everyone,
some time ago I saw a diagram consisting of two columns of words and lines
showing associations between the words in both columns.
It looked similar to the "parallel coordinates" diagram from this link:
http://homes.cs.washington.edu/~jheer/files/zoo/ but with only two columns.
Now, I am not sure if I saw this in an email on a Pharo or Moose list and
wanted to ask if it is already possible to create such diagrams with
Roassal.
Thank you very much,
Manfred
Hi,
The job for Moose 6.0 is randomly stuck (https://ci.inria.fr/moose/job/moose-6.0). It is the second time I had to stop the build.
I installed a plugin (Build timeout) to abort the build automatically after 30 minutes (which certainly a lot...).
However, the root cause should be identified and fixed...
Cheers,
Vincent
________________________________
Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'usage exclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir imm?diatement l'exp?diteur et de le d?truire. L'int?grit? du message ne pouvant ?tre assur?e sur Internet, la responsabilit? de Worldline ne pourra ?tre recherch?e quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'exp?diteur ne donne aucune garantie ? cet ?gard et sa responsabilit? ne saurait ?tre recherch?e pour tout dommage r?sultant d'un virus transmis.
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
Is it possible/planned to change multiple GTInspector tabs at once?
For example:
I would like to click on the next item in the leftmost pane, but keep the
middle and right panes opened, just update the data to reflect the newly
selected item.
I imagine there could be a "pin" button on each tab that would keep it open
or something, but maybe that would not be easy to implement.
Thanks,
Peter
Hi,
I moved Glamour to Rubric, deprecated those presentations that use
PluggableTextMorph and moved almost all usages of presentations that rely
on PluggableTextMorph.
These changes are still only in the Moose branch to see if there are any
ugly bugs.
The changes to the glamour API are the following:
- deprecated #smalltalkCode, #pharoPlayground and #rubricText
- added #pharoScript
If you use #smalltalkCode replace it with either #pharoMethod or
#pharoScript
If you use #rubricTest replace those usages with #text
If you use #pharoPlayground replace those usages with #pharoScript (we
changed this as the glamour playground is not the same at the GTPlayground
and this was causing some confusion)
For this I also renamed GLMPharoPlaygroundPresentation to
GLMPharoScriptPresentation and GLMMorphicPharoPlaygroundRenderer to
GLMMorphicPharoScriptRenderer.
If you are using the latest moose let me know if you run into any problems
or have questions.
Cheers,
Andrei
Hi,
For preparing my teaching course I would have love to have simple class hierarchy visualisations or even better, real UML representations.
Unfortunately, the UML like diagram from the Moose panel is not zoomable. It is by default in light grey saying that it is harder to read. It contains all the attributes and all the methods so it is difficult to put it in a single readable picture. Please make the experiment with the Famix-Core classes.
I was not able to do easily a class hierarchy with the name of the classes. After more than one hour, I gave up.
So it could be good, if we can have:
- a class hierarchy with only the names of the classes in boxes or not
- a class hierarchy with only attributes
- a class hierarchy with only methods
- the existing "UML" representation
- a real metamodel representation. Not as a system complexity representation, but as a real UML representation meaning with inheritance AND associations (those can be deduce from pragmas and now with the new MooseQuery API, we get all the methods to do it).
It should be possible to easily specify which classes we want to represent.
It seems to me the minimum vital to do real analyses.
In my course, I wanted to show I extended FAMIX for SQL purpose. It was so complex (because I don’t want not all FAMIX entity, but just the one from which the SQL classes inherit and without the methods) that once again I gave up.
I don’t have enough time to better look for. But anyway, I find it sad that it is so hard even for people knowing (a bit) Moose of not being able to do that.
Cheers,
Anne
Hi!
Recently I did a refactoring of the actions in GLMRoassal2Presentation. But now the Moose Panel cannot zoom in / out. Any idea?
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
I am currently preparing a teaching course for next week (sorry, the support will be in French) explaining to the students what is a metamodel and how to create a new one with Moose.
For this purpose, I have to explain how to create properties in Famix.
For example:
<MSEProperty: #name type: #String>
<MSEComment: 'Basic name of the entity, not full reference.’>
What are the accepted primitive types String and what else?
It seems that Integer is not accepted. And what about Date or DateAndTime?
In fact it seems that only String is accepted.
In my case, the svn log metamodel, a Commit has a revision number (Integer) and a date (DateAndTime).
Is there something I am missing?
Thank you in advance for your help.
Anne
Hi!
When browsing examples, I have code highlighting when looking at the source of an example, but in the playground I do not have the highlighting.
Any idea how to fix that?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
[NB: forwarded to the moose mailing list as other may be interested in this]
Hi Thomas,
This is a tricky situation, for which I have found a solution.
Consider the script
-=-=--=-=--=-=--=-=-
b := RTGrapher new.
d := RTData new.
d points: #(3 4 5).
d barShape.
b add: d.
b axisX noLabel; noTick.
b
-=-=--=-=--=-=--=-=-
produces
As always.
You can now send #noAlignmentOffset to the data to remove the offset.
-=-=-=-=-=-=
b := RTGrapher new.
d := RTData new.
d points: #(3 4 5).
d barShape.
d noAlignmentOffset.
b add: d.
b axisX noLabel; noTick.
b
-=-=-=-=-=-=
produces:
It is visually less appealing, however it works well when you combine it with other data sets:
-=-=-=-=-=-=
b := RTGrapher new.
d := RTData new.
d points: #(3 4 3.5).
d barShape.
d noAlignmentOffset.
b add: d.
d := RTData new.
d points: #(3 4 3.5).
d connectColor: Color red.
b add: d.
b
-=-=-=-=-=-=
This is committed in Pharo
Alexandre
> On Oct 15, 2015, at 7:27 AM, Thomas Brodt <thomas.brodt(a)porabo.ch> wrote:
>
> Hi Alexandre, hi Milton
>
> today I upgraded to the new version 2.35 of Roassal for Visualworks. It gets better each time!
>
> Unfortunately we have an issue with the new RTData. As the old RTStackedDataSet is obsolete now, we moved all our charts to RTData.
>
> In some charts where we have bars mixed with lines, the dots of the line graph are no longer aligned with the center of the bars, as it was before with RTStackedDataSet. If I change the RTData for the line graph to RTStackedDataSet, the alignment works again.
>
> Here is an example script:
>
> | b ds |
> b := RTGrapher new.
> ds := RTData new.
> (ds barShape)
> width: 15;
> if: [:v | v < 0] fillColor: Color red;
> if: [:v | v > 0] fillColor: Color green.
> ds points: #(5 -6 10 20 -9).
> b add: ds.
>
> ds := RTStackedDataSet new.
> ds
> points: #(4 -2 11 16 -10);
> connectColor: Color red;
> connect.
> ds dotShape color: Color blue.
> ds lineShape color: Color blue.
> b add: ds.
>
> ds := RTData new.
> ds
> points: #(4 -2 11 16 -10);
> connectColor: Color red;
> connect.
> ds dotShape color: Color red.
> ds lineShape color: Color red.
> b add: ds.
>
>
> (b axisX)
> noLabel;
> noTick.
> b axisY noDecimal.
> b build.
> b view
>
>
> In the example, there are two lines with the same values, one using RTData, and one using RTStackedDataSet. And they have different positions, while I think they should be aligned.
>
> Maybe you can have a look at that?
> Thanks,
>
> Thomas
>
>
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.