[Pharo-project] Connectors
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
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
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_JavaSc...>. 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
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_JavaSc...>. 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 -- denker@acm.org http://www.marcusdenker.de
Hi!
http://www.svgopen.org/2009/papers/58-Interactive_Documentation_using_JavaSc...
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_JavaSc...
. 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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
http://www.svgopen.org/2009/papers/58-Interactive_Documentation_using_JavaSc...
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_JavaSc...) 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_JavaSc...
. 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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel  http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli http://www.lukas-renggli.ch
On Tue, 2009-11-17 at 20:14 +0100, Lukas Renggli wrote:
http://www.svgopen.org/2009/papers/58-Interactive_Documentation_using_JavaSc...
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_JavaSc...) 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
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
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- www.tudorgirba.com "We are all great at making mistakes."
participants (6)
-
Alexandre Bergel -
Andrew P. Black -
Bryce Kampjes -
Lukas Renggli -
Marcus Denker -
Tudor Girba