This plugin extends the DirectedGraphPlugin and draws a map of a web, part of a web, or of the structure around a single topic.
This is a sample of a web drawn by DirectedGraphWebMapPlugin - the "Main" web in a default installation of TWiki.
As you will notice, most topics are clickable when touched by the mouse, through clientside areamaps. (Only Web* system topics are not linked).
%WEBMAP%
somewhere on the page to display a map of the entire web.
%WEBMAP{web="web" excludesystem="1" lr="1"}%
web="web"
gives a map of the given web. Default 'this web'.
excludesystem="1"
ignore TWiki system topics (WebNotify and friends). Default OFF
lr="1"
orient graph left to right. Default orient graph top to bottom
size="2,1"
maximum size of graph in inches (92dpi). For i.e. a maximum of ~800x600 use "8.5,6.5"
%TOPICMAP%
somewhere on the page to display links for the given topic, to a given radius.
%TOPICMAP{web="web" topic="topic" links="2" backlinks="1" excludesystem="1" lr="1"}%
web="web"
gives a map of the given web. Default 'this web'.
topic="topic"
gives a map of the given topic. Default 'this topic'.
links="number"
set the length of chain linking FROM the given topic. If not given, then take LINKS plugin setting, then 2.
backlinks="number"
set the length of chain linking TO the given topic. If not given then take links
then BACKLINKS plugin setting, then LINKS plugin setting, then 1.
excludesystem="1"
ignore TWiki system topics (WebNotify and friends). Default OFF
lr="1"
orient graph left to right. Default orient graph top to bottom
size="2,1"
maximum size of graph in inches (92dpi). For i.e. a maximum of ~800x600 use "8.5,6.5"
Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%
, i.e. %DIRECTEDGRAPHWEBMAPPLUGIN_SHORTDESCRIPTION%
2
if not set here) 1
if not set here) 8.5,6.5
if not set here, translates to ~800x600 pixels) data/debug.txt
)
Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.
DirectedGraphWebMapPlugin.zip
in your twiki installation directory. Content: File: | Description: |
---|---|
data/TWiki/DirectedGraphWebMapPlugin.txt | Plugin topic |
lib/TWiki/Plugins/DirectedGraphWebMapPlugin.pm | Plugin Perl module |
pub/TWiki/DirectedGraphWebMapPlugin/sample.png | Sample WebMap |
pub/TWiki/DirectedGraphWebMapPlugin/SampleMainWebMap.png | Sample WebMap |
configure
in your TWiki installation, and enable the plugin in the {Plugins} section.
%TOPICMAP{links="1"}%
Plugin Author: | TWiki:Main.MagnusLewisSmith![]() |
Copyright: | © 2006 TWiki:Main.MagnusLewisSmith![]() © 2006-2011 TWiki:TWiki.TWikiContributor ![]() |
License: | GPL (GNU General Public License![]() |
Plugin Version: | 21372 (2011-06-04) |
Change History: | |
2011-06-04: | TWikibug:Item6733![]() ![]() |
2010-09-05: | TWikibug:Item6530![]() ![]() |
19 Apr 2006: | Updated doc, enabled debug (now writes generated dot graph in verbatim if debug is enabled) (TWiki:Main.SteffenPoulsen![]() |
16 Apr 2006: | Added max size parameter, updated doc (TWiki:Main.SteffenPoulsen![]() |
04 Jul 2005: | Initial version |
TWiki Dependency: | $TWiki::Plugins::VERSION 1.024 |
CPAN Dependencies: | none |
Other Dependencies: | DirectedGraphPlugin |
Perl Version: | 5.005 |
TWiki:Plugins/Benchmark![]() |
GoodStyle nn%, FormattedSearch nn%, DirectedGraphWebMapPlugin nn% |
Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/DirectedGraphWebMapPlugin![]() |
Feedback: | http://TWiki.org/cgi-bin/view/Plugins/DirectedGraphWebMapPluginDev![]() |
Appraisal: | http://TWiki.org/cgi-bin/view/Plugins/DirectedGraphWebMapPluginAppraisal![]() |
Related Topics: DirectedGraphPlugin, TWikiPreferences, TWikiPlugins
antalya escort bursa escort eskisehir escort istanbul escort izmir escort