MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 13 as of 2014-06-04 09:03:56
  • GraphViz

GraphViz

Graphviz is open source graph visualization software. Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. It has important applications in networking, bioinformatics, software engineering, database and web design, machine learning, and in visual interfaces for other technical domains.

http://www.graphviz.org/

http://www.tonyballantyne.com/graphs.html

GraphViz for MoinMoin

http://moinmo.in/GraphVizForMoin

  • cd /tmp
  • wget http://moinmo.in/GraphVizForMoin?action=AttachFile&do=view&target=MoinGraphViz-1.0rc4-brn-1.9.x.comp.zip

  • unzip MoinGraphViz-1.0rc4-brn-1.9.x.comp.zip

  • cd/tmp/MoinGraphViz-1.0rc4-brn-1.9.x.comp/wiki/data/plugin
  • cp * -r /home/moin/moin-1.9.7/wiki/data/plugin/
  • cd /home/moin/moin-1.9.7/wiki/data/plugin/
  • chown moin * -R
  • chgrp apache * -R
  • cd/tmp/MoinGraphViz-1.0rc4-brn-1.9.x.comp/umoin
  • cp MoinLegacy /home/moin/moin-1.9.7/MoinMoin/support/

  • cd /home/moin/moin-1.9.7/MoinMoin/support/
  • chown moin * -R
  • chgrp apache * -R
  • yum install graphviz
  • vim /home/moin/moin-1.9.7/wiki/data/plugin/parser/MoinGraphViz/main-py # GRAPHVIZ_TOOLS_DIR = r'/usr/bin'
  • service httpd restart

Windows configuration

On file <...>moin-1.9.7\wiki\data\plugin\parser\MoinGraphViz\main.py change in line 254 from close_fds=True to close_ds=False, due to error launched in Windows.

   1 def oscmd(cmd):
   2     '''instead of simply calling os.system(cmd)
   3     capture stderr and raise GraphvizRenderError if exit code != 0
   4     '''
   5     p = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True, 
   6             bufsize=1024, close_fds=False)
   7     stdo, stde = p.communicate()
   8 
   9     if p.returncode != 0:
  10         raise GraphvizRenderError("%s\n%s" % (stdo, stde))

Test after installation

If all was installed correctly a graph should appear below

graphviz-SomeGraph-35e22b6d6d5e7efb2719da7bc9d43dd9ef636b68.png

Sample 1

graphviz-G-7e575a59fc0a50b90b037e742eec7eb7f0c6a157.png

UML with GraphViz

UML Sample 1

http://www.ffnn.nl/pages/articles/media/uml-diagrams-using-graphviz-dot.php

graphviz-UMLTest-f86887bf162cb5e535395a7a32dd422280e1c635.png

UML Sample 2

http://www.lornajane.net/posts/2011/uml-diagrams-with-graphviz

graphviz-Couriers-5d11fa14f60df74645c54aafbc89c44c80de318e.png

UML Sample 3

http://canvoki.net/coder/resources/DotUmlUseCases.html

http://canvoki.net/coder/DotUseCases/MarUseCases.dot

graphviz-example-163d81b28a4e5813c7cb50952becf63578f0d16f.png

UML Sample 4

http://fsteeg.wordpress.com/2006/11/16/uml-activity-diagrams-with-graphviz/

graphviz-untitled-b95d22275e5ab87fa18c01da30a460137bb3165b.png

graphviz-untitled-3760cfc7c27e9a2ee64ca1ee531127d1388cde0f.png

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01