On Tue, May 7, 2013 at 3:00 PM, Tran Thi Nhu HOA (etudiante) <
ttnhoa(a)ifi.edu.vn> wrote:
> On 05/07/2013 08:00 PM, Tran Thi Nhu HOA (etudiante) wrote:
>
>
> Good evening Usman Bhatti,
>
> Thanks to your help. I have look at GLMExamples class in glamour, most of
> the scenarios with examples. But i don't find any solution of my problem.
>
> The workflow is some panes: (as image below)
> + one to select a model ( the first panel),
>
> + two, three, four to visualize a model (Equations, Parameters,
> Compartment),
>
> + the last one to be able to visualize some graphical (Sample bar chart)
>
> simulation of a model.
>
> Until now, i have displayed data on Glamour Pharo (as image below) and
> graph by EyeSee
>
> but i can't update data (change the parameters on panel "Value of
> parameters" et "Value of compartments" and change the equations --> update
> and store the parameters ---> create an instance of a class (a model) with
> the parameters --> display result as a graph(update graph))
> How to store the value of parameters and call an instance of a model and
> update on EyeSee?
>
>
you'll have to look how Transmissions and Ports work in Glamour.
The link here is an excellent resource, but its down.
http://themoosebook.org/
You can also have a look at the book chapter:
http://pharobooks.gforge.inria.fr/PharoByExampleTwo-Eng/latest/Glamour.pdf
> I look at the example but don't exist like this.
>
> I don't know how to update data, can you show me? Is Glamour Seaside able
> to do like this?
>
> I haven't used glamour-seaside and I dont know about its capabilities.
> Thanks in avance,
>
> Sincerely,
>
> ttnhoa
>
> PS: I want to discuss on the topic on Moose -dev, however i don't find how
> to post an image of description (the fonction on my computer not run ). I
> will post the discussion after. Thanks.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On 05/07/2013 05:35 PM, Usman Bhatti wrote:
>
> hello ttnhoa,
>
> do you mind if discuss on the topic on Moose-dev list so that others can
> benefit too?
>
>
>
> On Sun, May 5, 2013 at 7:05 PM, <ttnhoa(a)ifi.edu.vn> wrote:
>
>> Good evening Usman Bhatti,
>> I'am a vietnamese master student working in Ha Noi, Viet Nam
>> on epidemiological model visualization. The idea of my work is to be
>> able to build some browser in order to navigate inside these kind of
>> models and also with the help of Glamour-Seaside, Eye-See, we want to
>> provide the same interface on the web.
>> Basically each model is define by a set of parameters (name -> float)
>> and a set of equations.
>> The workflow is quite simple : 3 panes, one to select a model, one to
>> visualize a model, the last one to be able to visualize some graphical
>> simulation of a model.
>>
>> I see your discussion at fervrier with le subject:
>> 'stuck in Glamour-Merlin flow and update doesn't help'
>> And you works with outils EyeSee, Glamour. I try the code that you
>> registre in forum and its runs very well.
>> You continue to work in this topic (Glamour, EyeSee)?
>>
>
> yes.
>
>
>> You know how to display data (from a model to EyeSee), update the data
>> (from a form, parameters ---> model --> update, visualise graphique of
>> model on EyeSee) ?
>>
>
> Have a look at GLMExamples class in glamour. you have most of the
> scenarios with examples.
>
> regards,
> usman
>
>
>>
>>
>> Thanks in avance,
>> ttnhoa
>>
>> _____________________________________
>> Sent from http://forum.world.st
>>
>>
>
>
> --
> Cordialement,
> ttnhoa
>
>
>
> --
> Cordialement,
> ttnhoa
>
>
Juraj
did you look at Distribution Map because we should really improve it.
For example introducing an API to control label is important in all the visualization based on top of roassal
removePrefix: 'Seaside*'
removePrefixes: #('SW*' 'Seaside*')
removePostFix: '*Test'
removePostFixes: #('*Tests' '*Test')
contractUpTo: 6
I think that we are quite poor with the customisation of the visualizations we produce.
We do them but after the last 10% are not done. So we end up with ugly distributionMap and other just because of
that.
We did Konkrator just as a step to improve the situation but nobody uses it :).
Stef
Hi
I was working on translating the center of the radial tree at
the middle of the window and I faced a problem.
I had already faced it
when working on the ForceBasedLayout.
How does the layout access to
his view to get informations ? (Basically it could be very useful to
access to the camera to have size informations...)
Regards
Mathieu
Hi
I was wondering how to give different senses to different edges, so have
a look at edgeDrivenLayout and subclasses.
It seems that there are 2 sets of edges ( edges and userDifinedEdges )
and then we face a problem:
- How do we do if we want to represent more than two kinds of edges ?
Is Roassal able to draw dotted line ? (I haven't found it)
Regards
Mathieu
Hi,
To ease the transition to Athens, we need to get free type fonts in the image. I researched a bit, and found a couple of font families that are nicely free and open-source: DejaVu, Source Code Pro, Source Sans Pro, and LinLibertine.
I put together a little tool that imports a TTF file and installs it in a dedicated class. You can find a library of already imported fonts on SmalltalkHub:
http://www.smalltalkhub.com/#!/~girba/FreeFonts/
More details about this library can be found at:
http://www.tudorgirba.com/blog/free-font-collection-for-pharo
For example, you can use the SourceCodeProRegular font as a code font like:
Gofer new
smalltalkhubUser: 'girba' project: 'FreeFonts';
package: 'SourceCodeProRegular';
load.
(Smalltalk at: #SourceCodeProRegular) new install.
FreeTypeSystemSettings loadFt2Library: true.
StandardFonts codeFont: (LogicalFont familyName: 'Source Code Pro' pointSize: 10).
The Moose image already comes with a convenience method to set a complete free type font set:
MooseImageSetupCommandLineHandler new installFonts.
Cheers,
Doru
--
www.tudorgirba.com
"Be rather willing to give than demanding to get."
Hi,
I moved PetitDelphi (the work of Stephan and Diego) to SmalltalkHub.
You can play with it in a Moose image via this script:
Gofer new
smalltalkhubUser: 'Moose' project: 'PetitDelphi';
package: 'Famix-Delphi';
package: 'Famix-DelphiImporter';
package: 'PetitDelphi';
load.
Cheers,
Doru
--
www.tudorgirba.com
"It's not how it is, it is how we see it."