Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-25 Thread Ivan Lazar Miljenovic
On 26 October 2011 02:17, Rustom Mody 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 needed to underst

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 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. > > What do yo

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 do

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 wrote: > > On Mon, Oct 24, 2011 at 10:16 AM, Ivan Lazar Miljenovic > > wrote: > >> > >> On 24 October 2011 13:51, Rustom Mody wrote: > >> > How does diagrams compa

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Ivan Lazar Miljenovic
On 25 October 2011 16:02, Rustom Mody wrote: > On Mon, Oct 24, 2011 at 10:16 AM, Ivan Lazar Miljenovic > wrote: >> >> On 24 October 2011 13:51, Rustom Mody wrote: >> > How does diagrams compare with graphviz?  If this is an inappropriate >> > (type-wrong?) question thats ok :-)  Its just that wh

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 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 > > gra

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Rustom Mody
On Mon, Oct 24, 2011 at 10:17 PM, Stephen Tetley wrote: > > Rustom Mody 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 els

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Ivan Lazar Miljenovic
On 25 October 2011 04:25, Brent Yorgey 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!  This has be

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Jason Dagit
On Sun, Oct 23, 2011 at 11:47 AM, Brent Yorgey 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 quite a > few chan

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 in

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 Tru

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

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 Stephen Tetley
> Rustom Mody 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 different to '

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Ketil Malde
Rustom Mody 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 Gloss, perhaps? http:

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-23 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 wrote: > I am pleased to announce the release of version 0.4 of diagrams, a > full-featured framework and emb

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-23 Thread Ivan Lazar Miljenovic
On 24 October 2011 13:51, Rustom Mody 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 Hackage -- lots of types

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 inappropria

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 wrote: > I am pleased to announce the release of version 0.4 of diagrams, a > full-featured framework and embedded domain-specific language for

[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 inc