I've made some changes to allow a graphviz filter to be displayed inline (with other filters).
As part of this patch, I've also moved the loading of the PEAR module into the process function, just to improve PHP loading performance a little.

The difference now is that you need to enter the graphviz like this:

[graphviz]
/*
* @formats = gif
*
*/
digraph G { 
a -> b -> c  
d -> a  
d -> c    
}
[/graphviz]

But it does mean you can create output like the attached image.

CommentFileSizeAuthor
graphviz_inline.patch2 KBnterbogt
output.png10.41 KBnterbogt

Comments

infojunkie’s picture

Assigned: Unassigned » infojunkie
Status: Active » Needs review

Cooool! Thanks I'll check this in soon :-)

infojunkie’s picture

Version: 5.x-1.0 » 5.x-1.x-dev
Status: Needs review » Fixed

Fixed. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.