--- Begin Message ---Hi Alex, I will try this out and let you know Thank you Abdelghani> On 09 Jun 2017, at 10:13, Alexandre Bergel <alexandre.ber...@me.com> wrote: > > Hi! > > Simply using Mondrian is complicated to do this (Mondrian is not made to > produce interactive & dynamic visualizations). > > Instead, it would be great that you could try DataStudio, which is exactly > designed for this kind of situations. > > You can load DataStudio by using a dedicated plugin: > <Screenshot 2017-06-08 11.36.31.png> > > You can try some examples: > > | c | > c := CAArtwork new. > c doAction: (CAAddElementAction new argument: (1 to: 7)). > c doAction: (CAAddEdgeAction new argument: [ :e | e + 1 ]). > c doAction: (CASwitchLabelAction new). > c doAction: (CAShapeSizeAction new argument: 30). > c doAction: (CAGridLayoutAction new). > ^ c view > > Here another example: > > | c | > c := CAArtwork new. > c doAction: (CAAddElementAction new argument: (Collection > withAllSubclasses)). > c doAction: (CAAddEdgeAction new argument: #subclasses). > c doAction: (CAShapeHeightAction new argument: [ :cls | cls > numberOfMethods max: 5 ]). > c doAction: (CAShapeWidthAction new argument: [ :cls | cls > numberOfVariables * 5 max: 5 ]). > c doAction: (CAShapeNormalizedColorAction new argument: [ :cls | cls > numberOfLinesOfCode ]). > c doAction: (CATreeLayoutAction new). > > c doAction: (CAAddGroupAction new argument: [ :cls | '*Array*' match: > cls name ]). > c doAction: (CASwitchLabelAction new). > ^ c view > > You will end-up with something like: > <Screenshot 2017-06-09 04.00.21.png> > > Let me know how it goes... > > Cheers, > Alexandre > > >> On Jun 7, 2017, at 9:52 AM, Blondeau Vincent <vincent.blond...@worldline.com >> <mailto:vincent.blond...@worldline.com>> wrote: >> >> Hi, >> >> You should ask in the Moose list ;) >> >> Vincent >> >>> -----Message d'origine----- >>> De : Alidra Abdelghani [mailto:alidran...@yahoo.fr >>> <mailto:alidran...@yahoo.fr>] >>> Envoyé : mercredi 7 juin 2017 15:34 >>> À : pharo-users@lists.pharo.org <mailto:pharo-users@lists.pharo.org> >>> Objet : dynamic interaction with Mondriam >>> >>> Hi all, >>> >>> I would like to do some visualisations with Mondrian where you change the >>> visualisation by selecting actions. For instance you have : >>> b := RTMondrian new. >>> b shape rectangle withTextAbove. >>> b nodes:(1 to: 5). >>> b layout grid. >>> b edges connectFrom: [ :e | e + 1 ]. >>> b build. >>> b view >>> >>> then you can click a button to: >>> 1 display/hide the labels above the elements. >>> 2 display/hide some elements (all odd numbers for instance) >>> 3 display/hide connections between elements. >>> I saw a visualisation in the Roassal examples where you can add elements in >>> a >>> dynamic stack grapher. So I presume it is possible to do the same with other >>> types of visus. >>> >>> Any hints? >>> Thanks in advance. >>> Abdelghani >> >> !!!************************************************************************************* >> "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.!!!" >> _______________________________________________ >> Moose-dev mailing list >> moose-...@list.inf.unibe.ch <mailto:moose-...@list.inf.unibe.ch> >> https://www.list.inf.unibe.ch/listinfo/moose-dev >
--- End Message ---
Re: [Pharo-users] [Moose-dev] dynamic interaction with Mondriam
Alidra Abdelghani via Pharo-users Fri, 09 Jun 2017 02:20:08 -0700
- [Pharo-users] dynamic interaction with M... Alidra Abdelghani via Pharo-users
- Re: [Pharo-users] dynamic interacti... Blondeau Vincent
- Re: [Pharo-users] dynamic inter... Alidra Abdelghani via Pharo-users
- Re: [Pharo-users] [Moose-dev] d... Alidra Abdelghani via Pharo-users