mirror of https://github.com/dspinellis/UMLGraph
30 lines
776 B
XML
30 lines
776 B
XML
<?xml version="1.0" encoding="ISO-8859-7" ?>
|
|
<!-- $Id$ -->
|
|
<notes>
|
|
One specifies a class diagram using the Java syntax complemented by
|
|
<a href="http://java.sun.com/j2se/javadoc/"><em>javadoc</em></a>
|
|
tags.
|
|
Running the UmlGraph doclet on the specification will generate
|
|
a
|
|
<a href="http://www.graphviz.org/">Graphviz</a>
|
|
diagram specification that can be automatically processed to
|
|
create Postscript, GIF, SVG, JPEG, fig, or Framemaker drawings.
|
|
<p />
|
|
The following is an example of a specification and the resulting UML class
|
|
diagram:
|
|
<table>
|
|
<tr><td>
|
|
<fmtcode ext="java">
|
|
class Person {
|
|
String Name;
|
|
}
|
|
|
|
class Employee extends Person {}
|
|
|
|
class Client extends Person {}
|
|
</fmtcode>
|
|
</td><td>
|
|
<img src="class-eg.gif" alt="Simple UML class diagram" />
|
|
</td></tr></table>
|
|
</notes>
|