Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/splitbrain/dokuwiki-grapher
Create graphs from DokuWiki link structures
https://github.com/splitbrain/dokuwiki-grapher
dokuwiki graph php
Last synced: about 10 hours ago
JSON representation
Create graphs from DokuWiki link structures
- Host: GitHub
- URL: https://github.com/splitbrain/dokuwiki-grapher
- Owner: splitbrain
- Created: 2010-07-30T09:36:25.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2022-05-13T06:17:20.000Z (over 2 years ago)
- Last Synced: 2024-11-01T11:51:38.544Z (7 days ago)
- Topics: dokuwiki, graph, php
- Language: PHP
- Homepage:
- Size: 11.7 KB
- Stars: 18
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - splitbrain/dokuwiki-grapher - Create graphs from DokuWiki link structures (php)
README
# DokuWiki Grapher
This is a simple script to generate a directed graph description from DokuWiki link structures. Read the [introductional blog post](https://www.splitbrain.org/blog/2010-08/02-graphing_dokuwiki_help_needed) for some more info.
## Installing
Download the [grapher.php](https://raw.githubusercontent.com/splitbrain/dokuwiki-grapher/master/grapher.php) file into your DokuWiki ``bin`` directory. Then run it from command line.
## Usage
See ``bin/grapher.php --help``:
```
USAGE: grapher.php []Creates a graph representation of pages and media files and how they
are interlinked.
OPTIONS
-d , --depth Recursion depth, eg. how deep to look into the
given namespaces. Use 0 for all. Default: 1-m , How to handle media files. 'ns' includes only media
--media that is located in the given namespaces, 'all'
includes all media files and 'none' ignores the
media files completely. Default: ns-f , The wanted output format. 'dot' is a very simple
--format format which can be used to visualize the resulting
graph with graphviz. The 'gexf' format is a more
complex XML-based format which contains more info
about the found nodes and can be loaded in Gephi.
Default: dot-o , --output Where to store the output eg. a filename. If not
given the output is written to STDOUT.--no-colors Do not use any colors in output. Useful when piping
output to other tools or files.-h, --help Display this help screen and exit immeadiately.
Give all wiki namespaces you want to have graphed.
If no namespace is given, the root namespace is
assumed.
```## Visualize
Run the created file through [GraphViz](http://www.graphviz.org/) or [Gephi](https://gephi.org/).