MOGraphVizLayout: should I port it into Roassal?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
22 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: MOGraphVizLayout: should I port it into Roassal?

Fabrizio Perin-3
Wasn't mondrian the correct repo?

2013/5/30 Tudor Girba <[hidden email]>
He committed in Mondrian.

Doru


On May 29, 2013, at 11:48 PM, Alexandre Bergel <[hidden email]> wrote:

> Where was this committed? I cannot find it...
>
> Alexandre
>
>
> On May 29, 2013, at 2:43 AM, Fabrizio Perin <[hidden email]> wrote:
>
>> Done
>>
>> 2013/5/28 Tudor Girba <[hidden email]>
>> Just commit :)
>>
>> Doru
>>
>>
>> On May 28, 2013, at 1:58 PM, Fabrizio Perin <[hidden email]> wrote:
>>
>>> small bugfix attached.
>>>
>>> Fabrizio
>>>
>>> 2013/5/28 Fabrizio Perin <[hidden email]>
>>> Hi,
>>> I maneged to make graphviz working under windows. It is a bit hacky but should work in most of the cases.
>>>
>>> I couldn't commit on the smalltlkhub repo so I attached the mcz here.
>>>
>>> The folders where the layout look for the executables are:
>>> C:\Program Files (x86)\Graphviz2.30\bin
>>> and
>>> C:\Program Files\Graphviz2.30\bin
>>>
>>> Also, I don't know why but OSProcess waitForCommand: doesn't work properli. It seems that the process do not terminate and since it never reaches the state complete, you wait forever. The hack I did was to wait not on the process state but on the existance of the file mondrian_plain. So the layout will run the command OSProcess command: bla bla.. and than it will wait until the file mondrian_plain will be created. After that everything is the same.
>>>
>>> Cheers,
>>> Fabrizio
>>>
>>>
>>>
>>>
>>> 2013/5/28 Fabrizio Perin <[hidden email]>
>>> Hi,
>>> I think that first of all we should adapt the Mondrian graphviz layout than move it to roassal. To do that we should only change the invocation to the graphviz layout (e.g. neato.exe). I don't know if that is possible with NativeBoost and how to do that though.
>>>
>>> I will look into that now. Any suggestion will be appriciated :)
>>>
>>> Cheers,
>>> Fabrizio
>>>
>>>
>>> 2013/5/27 Alexandre Bergel <[hidden email]>
>>> I did not authored the binding Pharo <--> GraphViz. I guess it was using OSProcess.
>>> Maybe this binding will be obsolete with NativeBoost around? Can NativeBoosts invokes external processes?
>>>
>>> Alexandre
>>>
>>>
>>> On May 27, 2013, at 12:37 PM, Fabrizio Perin <[hidden email]> wrote:
>>>
>>>> Hi Alex,
>>>> for now I need a neato layout but will be surely interesting to have soon all the graphviz layout available. Most important, will I be able to use them under windows?
>>>>
>>>> Thanks a lot,
>>>> Fabrizio
>>>>
>>>>
>>>> 2013/5/27 Alexandre Bergel <[hidden email]>
>>>> Which layout in particular are you interested in?
>>>> Mathieu recently implemented some efficient layouts.
>>>>
>>>> Cheers,
>>>> Alexandre
>>>>
>>>>
>>>> On May 27, 2013, at 7:45 AM, Fabrizio Perin <[hidden email]> wrote:
>>>>
>>>>> Hi,
>>>>> What is the status of this porting? Do we have GraphVizLayout in Roassal? Also, whould it be possible to use it under windows?
>>>>>
>>>>> Cheers,
>>>>> Fabrizio
>>>>>
>>>>> 2013/4/3 Juraj Kubelka <[hidden email]>
>>>>> ok
>>>>>
>>>>>
>>>>> 2013/4/3 Alexandre Bergel <[hidden email]>
>>>>> I propose to postpone this layout for later.
>>>>>
>>>>> Alexandre
>>>>>
>>>>>
>>>>> On Apr 3, 2013, at 12:17 PM, Juraj Kubelka <[hidden email]> wrote:
>>>>>
>>>>>> Hi Doru,
>>>>>>
>>>>>> yes, but is that what we want in Roassal?
>>>>>>
>>>>>> Jura
>>>>>>
>>>>>>
>>>>>> 2013/4/3 Tudor Girba <[hidden email]>
>>>>>> Hi,
>>>>>>
>>>>>> The layout works, but indeed the particular method you mentioned is not working. Look at doExecute: and you will see that the call is commented out.
>>>>>>
>>>>>> Cheers,
>>>>>> Doru
>>>>>>
>>>>>>
>>>>>> On Apr 3, 2013, at 5:59 PM, Juraj Kubelka <[hidden email]> wrote:
>>>>>>
>>>>>>> Method comment of "MOGraphVizLayout>>applyLayoutToConnections:with:" sais:
>>>>>>>
>>>>>>> ----
>>>>>>> "The code is broken currently. Waiting for Bryce help
>>>>>>>     Alexandre.Bergel 8/30/2009 11:40"
>>>>>>> ----
>>>>>>>
>>>>>>> Method should be called from method #doExecute: but is not.
>>>>>>>
>>>>>>> Are there real users of this class? It seems broken for a long time. It also uses class MOBoundsWithPoints which is not defined in the image.
>>>>>>>
>>>>>>> I am not sure if it is worth to do the port into Roassal.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Jura
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 2013/4/3 Tudor Girba <[hidden email]>
>>>>>>> Yes, it would be nice. This one uses the external GraphViz tool to produce the layout.
>>>>>>>
>>>>>>> Doru
>>>>>>>
>>>>>>>
>>>>>>> On Apr 3, 2013, at 4:06 PM, Juraj Kubelka <[hidden email]> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> there is a class MOGraphVizLayout used in some visualisations (e.g. GTVisualizations new viewPragmaConstellation or MooseBrowser>>multiplicationBrowser). Should I port it into Roassal?
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Jura
>>>>>>>> _______________________________________________
>>>>>>>> Moose-dev mailing list
>>>>>>>> [hidden email]
>>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>>
>>>>>>> --
>>>>>>> www.tudorgirba.com
>>>>>>>
>>>>>>> "Speaking louder won't make the point worthier."
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Moose-dev mailing list
>>>>>>> [hidden email]
>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Moose-dev mailing list
>>>>>>> [hidden email]
>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>
>>>>>> --
>>>>>> www.tudorgirba.com
>>>>>>
>>>>>> "Every successful trip needs a suitable vehicle."
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Moose-dev mailing list
>>>>>> [hidden email]
>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>
>>>>>> _______________________________________________
>>>>>> Moose-dev mailing list
>>>>>> [hidden email]
>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>
>>>>> --
>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>> Alexandre Bergel  http://www.bergel.eu
>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> [hidden email]
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> [hidden email]
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> [hidden email]
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel  http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>>
>>>
>>> <MondrianGraphVizLayout-FabrizioPerin.18.mcz>_______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>> www.tudorgirba.com
>>
>> "When people care, great things can happen."
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Problem solving efficiency grows with the abstractness level of problem understanding."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: MOGraphVizLayout: should I port it into Roassal?

abergel
Yes it is. I just misunderstood.

Alexandre


On May 30, 2013, at 6:35 AM, Fabrizio Perin <[hidden email]> wrote:

> Wasn't mondrian the correct repo?
>
> 2013/5/30 Tudor Girba <[hidden email]>
> He committed in Mondrian.
>
> Doru
>
>
> On May 29, 2013, at 11:48 PM, Alexandre Bergel <[hidden email]> wrote:
>
> > Where was this committed? I cannot find it...
> >
> > Alexandre
> >
> >
> > On May 29, 2013, at 2:43 AM, Fabrizio Perin <[hidden email]> wrote:
> >
> >> Done
> >>
> >> 2013/5/28 Tudor Girba <[hidden email]>
> >> Just commit :)
> >>
> >> Doru
> >>
> >>
> >> On May 28, 2013, at 1:58 PM, Fabrizio Perin <[hidden email]> wrote:
> >>
> >>> small bugfix attached.
> >>>
> >>> Fabrizio
> >>>
> >>> 2013/5/28 Fabrizio Perin <[hidden email]>
> >>> Hi,
> >>> I maneged to make graphviz working under windows. It is a bit hacky but should work in most of the cases.
> >>>
> >>> I couldn't commit on the smalltlkhub repo so I attached the mcz here.
> >>>
> >>> The folders where the layout look for the executables are:
> >>> C:\Program Files (x86)\Graphviz2.30\bin
> >>> and
> >>> C:\Program Files\Graphviz2.30\bin
> >>>
> >>> Also, I don't know why but OSProcess waitForCommand: doesn't work properli. It seems that the process do not terminate and since it never reaches the state complete, you wait forever. The hack I did was to wait not on the process state but on the existance of the file mondrian_plain. So the layout will run the command OSProcess command: bla bla.. and than it will wait until the file mondrian_plain will be created. After that everything is the same.
> >>>
> >>> Cheers,
> >>> Fabrizio
> >>>
> >>>
> >>>
> >>>
> >>> 2013/5/28 Fabrizio Perin <[hidden email]>
> >>> Hi,
> >>> I think that first of all we should adapt the Mondrian graphviz layout than move it to roassal. To do that we should only change the invocation to the graphviz layout (e.g. neato.exe). I don't know if that is possible with NativeBoost and how to do that though.
> >>>
> >>> I will look into that now. Any suggestion will be appriciated :)
> >>>
> >>> Cheers,
> >>> Fabrizio
> >>>
> >>>
> >>> 2013/5/27 Alexandre Bergel <[hidden email]>
> >>> I did not authored the binding Pharo <--> GraphViz. I guess it was using OSProcess.
> >>> Maybe this binding will be obsolete with NativeBoost around? Can NativeBoosts invokes external processes?
> >>>
> >>> Alexandre
> >>>
> >>>
> >>> On May 27, 2013, at 12:37 PM, Fabrizio Perin <[hidden email]> wrote:
> >>>
> >>>> Hi Alex,
> >>>> for now I need a neato layout but will be surely interesting to have soon all the graphviz layout available. Most important, will I be able to use them under windows?
> >>>>
> >>>> Thanks a lot,
> >>>> Fabrizio
> >>>>
> >>>>
> >>>> 2013/5/27 Alexandre Bergel <[hidden email]>
> >>>> Which layout in particular are you interested in?
> >>>> Mathieu recently implemented some efficient layouts.
> >>>>
> >>>> Cheers,
> >>>> Alexandre
> >>>>
> >>>>
> >>>> On May 27, 2013, at 7:45 AM, Fabrizio Perin <[hidden email]> wrote:
> >>>>
> >>>>> Hi,
> >>>>> What is the status of this porting? Do we have GraphVizLayout in Roassal? Also, whould it be possible to use it under windows?
> >>>>>
> >>>>> Cheers,
> >>>>> Fabrizio
> >>>>>
> >>>>> 2013/4/3 Juraj Kubelka <[hidden email]>
> >>>>> ok
> >>>>>
> >>>>>
> >>>>> 2013/4/3 Alexandre Bergel <[hidden email]>
> >>>>> I propose to postpone this layout for later.
> >>>>>
> >>>>> Alexandre
> >>>>>
> >>>>>
> >>>>> On Apr 3, 2013, at 12:17 PM, Juraj Kubelka <[hidden email]> wrote:
> >>>>>
> >>>>>> Hi Doru,
> >>>>>>
> >>>>>> yes, but is that what we want in Roassal?
> >>>>>>
> >>>>>> Jura
> >>>>>>
> >>>>>>
> >>>>>> 2013/4/3 Tudor Girba <[hidden email]>
> >>>>>> Hi,
> >>>>>>
> >>>>>> The layout works, but indeed the particular method you mentioned is not working. Look at doExecute: and you will see that the call is commented out.
> >>>>>>
> >>>>>> Cheers,
> >>>>>> Doru
> >>>>>>
> >>>>>>
> >>>>>> On Apr 3, 2013, at 5:59 PM, Juraj Kubelka <[hidden email]> wrote:
> >>>>>>
> >>>>>>> Method comment of "MOGraphVizLayout>>applyLayoutToConnections:with:" sais:
> >>>>>>>
> >>>>>>> ----
> >>>>>>> "The code is broken currently. Waiting for Bryce help
> >>>>>>>     Alexandre.Bergel 8/30/2009 11:40"
> >>>>>>> ----
> >>>>>>>
> >>>>>>> Method should be called from method #doExecute: but is not.
> >>>>>>>
> >>>>>>> Are there real users of this class? It seems broken for a long time. It also uses class MOBoundsWithPoints which is not defined in the image.
> >>>>>>>
> >>>>>>> I am not sure if it is worth to do the port into Roassal.
> >>>>>>>
> >>>>>>> Cheers,
> >>>>>>> Jura
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> 2013/4/3 Tudor Girba <[hidden email]>
> >>>>>>> Yes, it would be nice. This one uses the external GraphViz tool to produce the layout.
> >>>>>>>
> >>>>>>> Doru
> >>>>>>>
> >>>>>>>
> >>>>>>> On Apr 3, 2013, at 4:06 PM, Juraj Kubelka <[hidden email]> wrote:
> >>>>>>>
> >>>>>>>> Hi,
> >>>>>>>>
> >>>>>>>> there is a class MOGraphVizLayout used in some visualisations (e.g. GTVisualizations new viewPragmaConstellation or MooseBrowser>>multiplicationBrowser). Should I port it into Roassal?
> >>>>>>>>
> >>>>>>>> Cheers,
> >>>>>>>> Jura
> >>>>>>>> _______________________________________________
> >>>>>>>> Moose-dev mailing list
> >>>>>>>> [hidden email]
> >>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>>>>>
> >>>>>>> --
> >>>>>>> www.tudorgirba.com
> >>>>>>>
> >>>>>>> "Speaking louder won't make the point worthier."
> >>>>>>>
> >>>>>>>
> >>>>>>> _______________________________________________
> >>>>>>> Moose-dev mailing list
> >>>>>>> [hidden email]
> >>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>>>>>
> >>>>>>> _______________________________________________
> >>>>>>> Moose-dev mailing list
> >>>>>>> [hidden email]
> >>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>>>>
> >>>>>> --
> >>>>>> www.tudorgirba.com
> >>>>>>
> >>>>>> "Every successful trip needs a suitable vehicle."
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Moose-dev mailing list
> >>>>>> [hidden email]
> >>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Moose-dev mailing list
> >>>>>> [hidden email]
> >>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>>>
> >>>>> --
> >>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >>>>> Alexandre Bergel  http://www.bergel.eu
> >>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> Moose-dev mailing list
> >>>>> [hidden email]
> >>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> Moose-dev mailing list
> >>>>> [hidden email]
> >>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> Moose-dev mailing list
> >>>>> [hidden email]
> >>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>>
> >>>> --
> >>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >>>> Alexandre Bergel  http://www.bergel.eu
> >>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Moose-dev mailing list
> >>>> [hidden email]
> >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>>
> >>>> _______________________________________________
> >>>> Moose-dev mailing list
> >>>> [hidden email]
> >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>
> >>> --
> >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >>> Alexandre Bergel  http://www.bergel.eu
> >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Moose-dev mailing list
> >>> [hidden email]
> >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>
> >>>
> >>>
> >>> <MondrianGraphVizLayout-FabrizioPerin.18.mcz>_______________________________________________
> >>> Moose-dev mailing list
> >>> [hidden email]
> >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >> --
> >> www.tudorgirba.com
> >>
> >> "When people care, great things can happen."
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> [hidden email]
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> [hidden email]
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel  http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> www.tudorgirba.com
>
> "Problem solving efficiency grows with the abstractness level of problem understanding."
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
12