Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-25 Thread Rustom Mody
On Tue, Oct 25, 2011 at 10:40 AM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 25 October 2011 16:02, Rustom Mody rustompm...@gmail.com wrote: On Mon, Oct 24, 2011 at 10:16 AM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 24 October 2011 13:51, Rustom Mody

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-25 Thread Brent Yorgey
On Mon, Oct 24, 2011 at 11:55:53AM -0700, David Barbour wrote: Thanks. Diagrams package seems it could be promising for a declarative UI model - i.e. integration with functional reactive programming and similar models - so long as I'm willing to sacrifice `native` look and feel, which

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-25 Thread Brent Yorgey
On Mon, Oct 24, 2011 at 01:58:33PM -0700, Jason Dagit wrote: On Sun, Oct 23, 2011 at 11:47 AM, Brent Yorgey byor...@seas.upenn.edu wrote: I am pleased to announce the release of version 0.4 of diagrams, a full-featured framework and embedded domain-specific language for declarative drawing.

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-25 Thread Ivan Lazar Miljenovic
On 26 October 2011 02:17, Rustom Mody rustompm...@gmail.com wrote: In the Data.GraphViz.Types.Generalised page you have the starting line: It is sometimes useful to be able to manipulate a Dot graph as an actual graph. This representation lets you do so... Evidently some other context is

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread David Barbour
Is there any way to `query` a diagram, i.e. associate data with each pixel for mouse clicks? Or are the composition rules mostly write-only? On Sun, Oct 23, 2011 at 11:47 AM, Brent Yorgey byor...@seas.upenn.eduwrote: I am pleased to announce the release of version 0.4 of diagrams, a

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Ketil Malde
Rustom Mody rustompm...@gmail.com writes: I remember (vaguely) a 'live page' ie where one could enter (into the browser) changes to the diagrams code and see the results immediately. Is that page there? (Or am I mixing up with something else?) Chris Smith's web interface to Ben Lippmeier's

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Stephen Tetley
Rustom Mody rustompm...@gmail.com writes: I remember (vaguely) a 'live page' ie where one could enter (into the browser) changes to the diagrams code and see the results immediately. Is that page there? (Or am I mixing up with something else?) Maybe it was Péter Diviánszky's 'dia' (entirely

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Brent Yorgey
On Mon, Oct 24, 2011 at 08:21:30AM +0530, Rustom Mody wrote: Thanks. This is attractive. I remember (vaguely) a 'live page' ie where one could enter (into the browser) changes to the diagrams code and see the results immediately. Is that page there? (Or am I mixing up with something else?)

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Brent Yorgey
On Mon, Oct 24, 2011 at 03:46:26PM +1100, Ivan Lazar Miljenovic wrote: Hmmm... might be interesting to try and use dot/neato/etc. to do the layout of a graph, and then use diagrams for the actual visualisation... I agree! This has been on my list of things-to-do-with-diagrams-eventually for

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Brent Yorgey
On Sun, Oct 23, 2011 at 11:06:19PM -0700, David Barbour wrote: Is there any way to `query` a diagram, i.e. associate data with each pixel for mouse clicks? Yes. Every diagram has an associated 'query function', which associates a monoidal value to every point. By default it just returns

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread David Barbour
Thanks. Diagrams package seems it could be promising for a declarative UI model - i.e. integration with functional reactive programming and similar models - so long as I'm willing to sacrifice `native` look and feel, which doesn't seem like a big problem. A couple more questions: 1) Am I right

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Jason Dagit
On Sun, Oct 23, 2011 at 11:47 AM, Brent Yorgey byor...@seas.upenn.edu wrote: I am pleased to announce the release of version 0.4 of diagrams, a full-featured framework and embedded domain-specific language for declarative drawing. The last announcement was of the 0.1 release; there have been

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Ivan Lazar Miljenovic
On 25 October 2011 04:25, Brent Yorgey byor...@seas.upenn.edu wrote: On Mon, Oct 24, 2011 at 03:46:26PM +1100, Ivan Lazar Miljenovic wrote: Hmmm... might be interesting to try and use dot/neato/etc. to do the layout of a graph, and then use diagrams for the actual visualisation... I agree!  

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Rustom Mody
On Mon, Oct 24, 2011 at 10:17 PM, Stephen Tetley stephen.tet...@gmail.comwrote: Rustom Mody rustompm...@gmail.com writes: I remember (vaguely) a 'live page' ie where one could enter (into the browser) changes to the diagrams code and see the results immediately. Is that page there? (Or

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Rustom Mody
On Mon, Oct 24, 2011 at 10:16 AM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 24 October 2011 13:51, Rustom Mody rustompm...@gmail.com wrote: How does diagrams compare with graphviz? If this is an inappropriate (type-wrong?) question thats ok :-) Its just that when I last

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Ivan Lazar Miljenovic
On 25 October 2011 16:02, Rustom Mody rustompm...@gmail.com wrote: On Mon, Oct 24, 2011 at 10:16 AM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 24 October 2011 13:51, Rustom Mody rustompm...@gmail.com wrote: How does diagrams compare with graphviz?  If this is an inappropriate

[Haskell-cafe] ANN: diagrams 0.4

2011-10-23 Thread Brent Yorgey
I am pleased to announce the release of version 0.4 of diagrams, a full-featured framework and embedded domain-specific language for declarative drawing. The last announcement was of the 0.1 release; there have been quite a few changes and improvements since then, including: - A new website

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-23 Thread Ryan Yates
The correct URL for the manual is: http://projects.haskell.org/diagrams/manual/diagrams-manual.html Ryan On Sun, Oct 23, 2011 at 2:47 PM, Brent Yorgey byor...@seas.upenn.edu wrote: I am pleased to announce the release of version 0.4 of diagrams, a full-featured framework and embedded

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-23 Thread Rustom Mody
Thanks. This is attractive. I remember (vaguely) a 'live page' ie where one could enter (into the browser) changes to the diagrams code and see the results immediately. Is that page there? (Or am I mixing up with something else?) How does diagrams compare with graphviz? If this is an

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-23 Thread Ivan Lazar Miljenovic
On 24 October 2011 13:51, Rustom Mody rustompm...@gmail.com wrote: How does diagrams compare with graphviz?  If this is an inappropriate (type-wrong?) question thats ok :-)  Its just that when I last looked at graphviz I found the documentation somewhat impenetrable -- like much else in