small bugfix attached.
Fabrizio
2013/5/28 Fabrizio Perin <fabrizio.perin(a)gmail.com>
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 <fabrizio.perin(a)gmail.com>
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 <alexandre.bergel(a)me.com>
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 <fabrizio.perin(a)gmail.com> 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 <alexandre.bergel(a)me.com>
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 <fabrizio.perin(a)gmail.com> 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 <juraj.kubelka(a)gmail.com>
> ok
>
>
> 2013/4/3 Alexandre Bergel <alexandre.bergel(a)me.com>
> I propose to postpone this layout for later.
>
> Alexandre
>
>
> On Apr 3, 2013, at 12:17 PM, Juraj Kubelka <juraj.kubelka(a)gmail.com> wrote:
>
>> Hi Doru,
>>
>> yes, but is that what we want in Roassal?
>>
>> Jura
>>
>>
>> 2013/4/3 Tudor Girba <tudor(a)tudorgirba.com>
>> 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 <Juraj.Kubelka(a)gmail.com> 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 <tudor(a)tudorgirba.com>
>>> 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 <Juraj.Kubelka(a)gmail.com>
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
>>>> Moose-dev(a)iam.unibe.ch
>>>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>>
www.tudorgirba.com
>>>
>>> "Speaking louder won't make the point worthier."
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> Moose-dev(a)iam.unibe.ch
>>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> Moose-dev(a)iam.unibe.ch
>>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>>
www.tudorgirba.com
>>
>> "Every successful trip needs a suitable vehicle."
>>
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev(a)iam.unibe.ch
>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev(a)iam.unibe.ch
>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel
http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
<MondrianGraphVizLayout-FabrizioPerin.18.mcz>_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch