Connectors

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

Connectors

Prof. Andrew P. Black
I was recommending to a  student that they look at Ned Konz's  
Connectors package to help with a drawing project.   I eventually  
tracked downa fairly recent version in a SqueakSOurce project or  
mine ... but it's very Squeak dependent.

Specifically, it has dependencies on:

ObjectPropertiesMorph
PartsBin
Vocabulary
PhraseTileMorph
TileMorph
SymbolListType
QHsmMorphicEventHandler
ObjectsTool
BookMorph
GraphicalDictionaryMenu
QHsmMorph
GenericPropertiesMorph
Player
TwoWayScrollPane

A lot of these are incidental, e,g, the dependency on BookMorph is  
there because the Connectors package Extends BookMorph with a method  
that answers false to the question "isConnectable"?   Still, the code  
can't be loaded as-is.   And some of the dependencies are clearly  
deeper.

Does anyone know if there is version of the Connectors package for  
Pharo?  Ned, if you are listening, would you be willing to put this  
under the MIT license so that someone else could port it?

        Andrew


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Connectors

Alexandre Bergel
Hi Andrew,

I recommand you to give a try at Mondrian.
http://www.squeaksource.com/Mondrian.html

Cheers,
Alexandre


On 17 Nov 2009, at 04:28, Andrew P. Black wrote:

> I was recommending to a  student that they look at Ned Konz's
> Connectors package to help with a drawing project.   I eventually
> tracked downa fairly recent version in a SqueakSOurce project or
> mine ... but it's very Squeak dependent.
>
> Specifically, it has dependencies on:
>
> ObjectPropertiesMorph
> PartsBin
> Vocabulary
> PhraseTileMorph
> TileMorph
> SymbolListType
> QHsmMorphicEventHandler
> ObjectsTool
> BookMorph
> GraphicalDictionaryMenu
> QHsmMorph
> GenericPropertiesMorph
> Player
> TwoWayScrollPane
>
> A lot of these are incidental, e,g, the dependency on BookMorph is
> there because the Connectors package Extends BookMorph with a method
> that answers false to the question "isConnectable"?   Still, the code
> can't be loaded as-is.   And some of the dependencies are clearly
> deeper.
>
> Does anyone know if there is version of the Connectors package for
> Pharo?  Ned, if you are listening, would you be willing to put this
> under the MIT license so that someone else could port it?
>
> Andrew
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

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






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Connectors

Lukas Renggli
Hi Alexandre,

> I recommand you to give a try at Mondrian.
> http://www.squeaksource.com/Mondrian.html

I tried to use Mondrian to visualize grammars, but found it difficult
to get something working that only remotely resembles
<http://www.svgopen.org/2009/papers/58-Interactive_Documentation_using_JavaScript_and_SVG/>.
In the end I used Morphic, which was much easier and gave slightly
better results.  Maybe Connectors can help to solve the problems I
have with the arrows?

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Connectors

Marcus Denker-3

On Nov 17, 2009, at 1:49 PM, Lukas Renggli wrote:

> Hi Alexandre,
>
>> I recommand you to give a try at Mondrian.
>> http://www.squeaksource.com/Mondrian.html
>
> I tried to use Mondrian to visualize grammars, but found it difficult
> to get something working that only remotely resembles
> <http://www.svgopen.org/2009/papers/58-Interactive_Documentation_using_JavaScript_and_SVG/>.
> In the end I used Morphic, which was much easier and gave slightly
> better results.  Maybe Connectors can help to solve the problems I
> have with the arrows?
>

I used to use Squeak for all my slides in the past (no keynote, no powerpoint). This often included connectors.
Here is an example of a presentation for rendering ASTs and IR trees:


        http://www.slideshare.net/MarcusDenker/a-programming-language-babel
        http://www.slideshare.net/MarcusDenker/a-jit-as-a-system-service

of course they where done by hand, not programmatically.


        Marcus


--
Marcus Denker  --  [hidden email]
http://www.marcusdenker.de


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Connectors

Alexandre Bergel
In reply to this post by Lukas Renggli
Hi!

> http://www.svgopen.org/2009/papers/58-Interactive_Documentation_using_JavaScript_and_SVG/

What you have in Figure 3 is fairly trivial to obtain. I can provide  
scripts for this.
Other figure are doable, but may require effort. I can help on this.

Cheers,
Alexandre

On 17 Nov 2009, at 09:49, Lukas Renggli wrote:

> Hi Alexandre,
>
>> I recommand you to give a try at Mondrian.
>> http://www.squeaksource.com/Mondrian.html
>
> I tried to use Mondrian to visualize grammars, but found it difficult
> to get something working that only remotely resembles
> <http://www.svgopen.org/2009/papers/58-Interactive_Documentation_using_JavaScript_and_SVG/ 
> >.
> In the end I used Morphic, which was much easier and gave slightly
> better results.  Maybe Connectors can help to solve the problems I
> have with the arrows?
>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

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






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Connectors

Lukas Renggli
>> http://www.svgopen.org/2009/papers/58-Interactive_Documentation_using_JavaScript_and_SVG/
>
> What you have in Figure 3 is fairly trivial to obtain. I can provide
> scripts for this.
> Other figure are doable, but may require effort. I can help on this.

I know how to do the tree, but that's not that interesting. I am more
interested into Figure 13
(http://www.svgopen.org/2009/papers/58-Interactive_Documentation_using_JavaScript_and_SVG/#fig_xml11-32_svg_img)
and 14.

In Morphic (with the exception of the arrows) this is easy to do when
nesting some containers into each other. I first thought that this
would be something for Mondrian, but it seems to be very hard at the
moment. Maybe this is also out of the scope of Mondrian?

Lukas




No, I was more thinking



>
> Cheers,
> Alexandre
>
> On 17 Nov 2009, at 09:49, Lukas Renggli wrote:
>
>> Hi Alexandre,
>>
>>> I recommand you to give a try at Mondrian.
>>> http://www.squeaksource.com/Mondrian.html
>>
>> I tried to use Mondrian to visualize grammars, but found it difficult
>> to get something working that only remotely resembles
>> <http://www.svgopen.org/2009/papers/58-Interactive_Documentation_using_JavaScript_and_SVG/
>> >.
>> In the end I used Morphic, which was much easier and gave slightly
>> better results.  Maybe Connectors can help to solve the problems I
>> have with the arrows?
>>
>> Lukas
>>
>> --
>> Lukas Renggli
>> http://www.lukas-renggli.ch
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>



--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Connectors

Bryce Kampjes
On Tue, 2009-11-17 at 20:14 +0100, Lukas Renggli wrote:

> >> http://www.svgopen.org/2009/papers/58-Interactive_Documentation_using_JavaScript_and_SVG/
> >
> > What you have in Figure 3 is fairly trivial to obtain. I can provide
> > scripts for this.
> > Other figure are doable, but may require effort. I can help on this.
>
> I know how to do the tree, but that's not that interesting. I am more
> interested into Figure 13
> (http://www.svgopen.org/2009/papers/58-Interactive_Documentation_using_JavaScript_and_SVG/#fig_xml11-32_svg_img)
> and 14.
>
> In Morphic (with the exception of the arrows) this is easy to do when
> nesting some containers into each other. I first thought that this
> would be something for Mondrian, but it seems to be very hard at the
> moment. Maybe this is also out of the scope of Mondrian?

I do something similar to that for Exupery's graphical method
inspectors. I've used first Connectors and now Mondrian. I do the
layout with graphvis and tweak it by hand if necessary.

Mondrian is at least as easy to use for this as Connectors.

If you're interested in the code, its the classes MOGraphVizLayout and
ExuperyMondrianMethodInspector in Exupery.

Bryce


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Connectors

Prof. Andrew P. Black
In reply to this post by Alexandre Bergel
Is there any documentation?

Andrew

On 17 Nov 2009, at 03:46, Alexandre Bergel wrote:

I recommand you to give a try at Mondrian.
http://www.squeaksource.com/Mondrian.html


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Connectors

Tudor Girba
Hi Andrew,

The official page is here:
http://moose.unibe.ch/tools/mondrian

Although most of it talks about the VisualWorks implementation, you  
can find an up-to-date Pharo-related tutorial here:
http://bergel.eu/download/MondrianManual.pdf

Cheers,
Doru


On 18 Nov 2009, at 00:33, Andrew P. Black wrote:

> Is there any documentation?
>
> Andrew
>
> On 17 Nov 2009, at 03:46, Alexandre Bergel wrote:
>
>> I recommand you to give a try at Mondrian.
>> http://www.squeaksource.com/Mondrian.html
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
www.tudorgirba.com

"We are all great at making mistakes."






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project