Talk:Graphviz extension
From Wickle Wiki
are there any changes to get clickable images ? Skr 23:11 9 nov, 2004 (CET)
Contents |
not yet ...
I am working on another extensions, more exactly Syntax Highlight extension, but this suggestion is a nice one, the next release will come with clickable areas of the image.
-- Coffman
Bug in the [URL=""] tag?
I like the support for links behind nodes very much. However, there seems to be a bug in the rendering of the actual URL. [URL="SomePage"] is rendered correctly as "http://my.domain.org/wiki/index.php/SomePage", but [URL="User:Me"] is rendered as "user:Me" in the address line (lower case, stripped protocol and domain and path) which gives an error. A work-around is to include the complete path on your domain, like [URL="/wiki/index.php/User:Me"]. --Bastiaan 09:38, 14 Mar 2005 (CET)
- Just installed graphviz extension with MediaWiki 1.5b3 and it works great... minus having the same issue with cross namespace links. Might be better to have links specified with [] or [[]] Nullc 05:11, 26 Jul 2005 (CEST)
extension not working on xampp
I just switched to an XAMPP install from apachefriends.org from the old piecemeal install for performance reasons. However seems like graphviz stopped working after that. Everything else works dandy. Log says that the png file is not found. Any suggestions?
Response:
The Graphviz Extension is not working on a XAMPP installation probably because this distribution of software does not include graphviz standlane program, wich is used to render the graphs on the web. Try to install graphviz on the machine, and to correct the paths on the configuration file.
--Coffman
Thanks!
Just wanted to say thanks for a> writing this extension, and b> hosting it on a wiki open to the public. --MarcSherman 17:46, 27 Jul 2005 (CEST)
Image properties?
Is there any way to set wiki Image properties on a <graphviz> image? For example, I'd like to do <graphviz|right|thumb|This is the [[caption]]> just like I can with an [[Image:]] tag. Is that possible, or easy to hack into the .php? --MarcSherman 13:05, 28 Jul 2005 (CEST)
Permissions?
Sorry i'm a newb.
Do i have to set any special right to use the extensions everytime, when i copy one of your examples (eg. a -> b) it is telling me
Warning: mkdir(/srv/www/htdocs/wiki/images/graphviz/): Permission denied in /srv/www/htdocs/wiki/extensions/Graphviz.php on line 33
what can i do ?
Response
- Sounds like your apache user doesn't have write permission to the images directory. --MarcSherman 19:26, 3 Aug 2005 (CEST)
- Yes , i am agree, to fix the problem just do a chmod 777 /srv/www/htdocs/wiki/images or read the Mediawiki manual for better security fix.
Macro hack
I've hacked the wiki on my company's intranet (sorry, it's not internet-facing, so I can't link to it) to pass the dot file through cpp before calling dot, allowing #define macros in the dot source. To do this, create this script in your wiki extensions directory:
#!/bin/bash
INFILE=$4
CPPOUT="${INFILE}.cppout"
cp "$INFILE" "${INFILE}.in"
/usr/bin/cpp -P -traditional-cpp "$INFILE" "$CPPOUT"
/usr/bin/dot "$1" "$2" "$3" "$CPPOUT"
In your LocalSettings.php file, set $wgGraphVizSettings->dotCommand to the script, instead of the dot binary. --MarcSherman 17:34, 31 Aug 2005 (CEST)
Can this be implimented on a UNIX server thru FTP?
Was wondering... wanted to use w/ my wiki. Dru 21:53, 7 February 2007 (MET)

