[ANN] DiagramCreator plugin maps out websites!

Chipp Walters chipp at chipp.com
Sun Jun 20 00:40:18 EDT 2010


http://shaferwaltersgroup.posterous.com/diagram-your-websites

I've added a plugin architecture to DiagramCreator. The first plugin is one
which diagrams websites. It's pretty straightforward and has a number of
interesting options. And, of course, like DiagramCreator, it's free while in
beta.

I think it would be great to create a plugin for mapping out Rev stacks,
cards, objects, scripts, etc.. The plugin architecture is really easy and
the actual plugin file is open source so anyone can play with it, and build
their own if they like. The key is the DiagramCreator file structure, which
is PLAIN XML. So for instance if you wanted to diagram a stack with cards it
would look like this:

<root>
<relationship>Stack 1--->has cards--->Card 1</relationship>
<relationship>Stack 1--->has cards--->Card 2</relationship>
<relationship>Stack 1--->has cards--->Card 3</relationship>
<relationship>Stack 1--->has cards--->Card 1</relationship>
<relationship>Card 1--->has buttons--->Button1</relationship>
<relationship>Card 1--->has buttons--->Button 2</relationship>
</root>

which generates:

http://www.widgetgadget.com/stuff/test1.png

Of course you can get fancier if you like.

And after you've generated the above XML (let's pretend it's in a variable
called tXML), all you need to do is send it to DiagramCreator thusly:

send "openViaPlugin tXML" to stack "InstantDiagrams"

and it will load and render!

You can find instructions on how to download and use DiagramCreator at:
http://shaferwaltersgroup.posterous.com/diagramcreator-in-beta-get-yours-now

And, if you're using a Mac and have problems launching DC, please contact me
offlist. Be sure and use the Graphviz.org installer and not a command-line
installer.



More information about the use-livecode mailing list