From: Clark C. Evans <cce@cl...> - 2004-01-30 17:50:12
*bing* http://yaml.org/graph/ is updated
I love undocumented features like this. Why didn't I try
to even guess. *boggles*
On Fri, Jan 30, 2004 at 09:13:24AM -0800, Peter Wolfenden wrote:
| For .png images instead of .gif, use the -Tpng option
| for dot (which is part of the graphviz distribution).
| For example:
| /usr/bin/dot -Tpng graph4.dot > graph4.png
| -----Original Message-----
| From: Clark C. Evans [mailto:cce@...]
| Sent: Friday, January 30, 2004 7:53 AM
| To: Sam Vilain
| Cc: Brian Ingerson; yaml-core@...
| Subject: Re: [Yaml-core] Schema
| Well, we made some progress towards a schema, but in a round about
| way; we went to a coffee house and started graphing YAML structures.
| As it turned out, the most clear diagrams:
| - Draw a sequence as a linked list, while implementations
| may not impose this; if you just draw the sequence as
| a node with integer labled arrows the resulting graph
| does not demonstrate the actual list structure.
| - Draw mappings using a 'pair', we keep the pair as a very
| small circle so that it is clear that the pair isn't a
| node and cannot be linked to. This is in essence a
| restriction on the graphs produced. The pair also
| allows for the key to be referenced in other contexts.
| After we wrote many various graphs on paper, we picked up
| graphvis and converted a sample YAML structure,
| - MyValue
| KeyOne: ValOne
| KeyTwo: &bing ValTwo
| - *bing
| into a graph structure. I just uploaded this tiny example
| to yaml.org/graph/ for your viewing pleasure. Does anyone
| know how to make a PNG instead of a GIF?
| The SF.Net email is sponsored by EclipseCon 2004
| Premiere Conference on Open Tools Development and Integration
| See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
| Yaml-core mailing list