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

  • Java
  • UMLGraph

UMLGraph

http://www.umlgraph.org/index.html

https://github.com/dspinellis/UMLGraph

Installation on CentOS

   1 cd ~
   2 mkdir tmp
   3 cd tmp
   4 git clone https://github.com/dspinellis/UMLGraph.git
   5 cd UMLGraph/
   6 mvn clean compile package
   7 cp target/umlgraph-5.7.3-SNAPSHOT.jar /usr/local/lib/UmlGraph.jar
   8 cp umlgraph /usr/local/bin/
   9 chmod 755 umlgraph /usr/local/bin/umlgraph
  10 vi /usr/local/bin/umlgraph

   1 #!/bin/sh
   2 #
   3 # Unix shell script to run UMLGraph on the specified base file name
   4 # For this to work you must adjust the following defintion of
   5 # UMLGRAPH_HOME to point to the directory where UmlGraph.jar is installed.
   6 #
   7 #
   8 UMLGRAPH_HOME=/usr/local/lib
   9 JAVA_HOME=/usr/java/default
  10 echo "Current UMLGraph Home $UMLGRAPH_HOME"
  11 echo "Current Java Home $JAVA_HOME"
  12 
  13 if [ x$2 = x ]
  14 then
  15         echo usage: umlgraph base_file_name filetype [umlgraph arguments] 1>&2
  16         echo example: umlgraph MyClass png 1>&2
  17         echo '(The above will convert MyClass.java into MyClass.png)' 1>&2
  18         exit 1
  19 else
  20         BASE=$1
  21         FILETYPE=$2
  22         shift 2
  23         java -classpath "$UMLGRAPH_HOME/UmlGraph.jar:$JAVA_HOME/lib/tools.jar" \
  24         org.umlgraph.doclet.UmlGraph -package $* -output - $BASE.java |
  25         dot -T$FILETYPE -o$BASE.$FILETYPE
  26 fi

Generate DOT file (GraphViz) for class Options.java

  • cd ~/tmp/UMLGraph/src/main/java/org/umlgraph/doclet
  • umlgraph Options dot
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01