Changes between Initial Version and Version 1 of CanvizPlugin


Ignore:
Timestamp:
Mar 31, 2009, 11:51:49 PM (15 years ago)
Author:
Shane Caraveo
Comment:

New hack CanvizPlugin, created by mixedpuppy

Legend:

Unmodified
Added
Removed
Modified
  • CanvizPlugin

    v1 v1  
     1= CanvizPlugin =
     2
     3== Description ==
     4
     5Canviz is a wiki macro plugin to render xdot formated graphs.  Canviz is a JavaScript and Canvas based graph rendering library available on Google Code [http://code.google.com/p/canviz/].  I created this plugin to have something simpler than graphviz and to push rendering out to the browser rather than on the server.
     6
     7
     8
     9== Bugs/Feature Requests ==
     10
     11Existing bugs and feature requests for CanvizPlugin are
     12[report:9?COMPONENT=CanvizPlugin here].
     13
     14If you have any issues, create a
     15[http://trac-hacks.org/newticket?component=CanvizPlugin&owner=mixedpuppy new ticket].
     16
     17== Download ==
     18
     19Download the zipped source from [download:canvizplugin here].
     20
     21== Source ==
     22
     23You can check out CanvizPlugin from [http://trac-hacks.org/svn/canvizplugin here] using Subversion, or [source:canvizplugin browse the source] with Trac.
     24
     25== Example ==
     26
     27xdot is a more extensive format than dot for graphs.  I don't have a personal opinion on which is better, xdot is used merely because that is what the Canviz project uses.
     28
     29An example hello world for the wiki:
     30
     31#!canviz
     32digraph G {
     33        node [label="\N"];
     34        graph [bb="0,0,74,108",
     35                _draw_="c 5 -white C 5 -white P 4 0 0 0 108 74 108 74 0 ",
     36                xdotversion="1.2"];
     37        Hello [pos="37,90", width="0.92", height="0.50", _draw_="c 5 -black e 37 90 33 18 ", _ldraw_="F 14.000000 11 -Times-Roman c 5 -black T 37 85 0 32 5 -Hello "];
     38        World [pos="37,18", width="1.03", height="0.50", _draw_="c 5 -black e 37 18 37 18 ", _ldraw_="F 14.000000 11 -Times-Roman c 5 -black T 37 13 0 37 5 -World "];
     39        Hello -> World [pos="e,37,36 37,72 37,64 37,55 37,46", _draw_="c 5 -black B 4 37 72 37 64 37 55 37 46 ", _hdraw_="S 5 -solid S 15 -setlinewidth(1) c 5 -black C 5 -black P 3 41 46 37 36 34 46 "];
     40}
     41
     42
     43
     44
     45== Recent Changes ==
     46
     47[[ChangeLog(canvizplugin, 3)]]
     48
     49== Author/Contributors ==
     50
     51'''Author:''' [wiki:mixedpuppy] [[BR]]
     52'''Contributors:'''