maxGraph/java/index.html

50 lines
1.7 KiB
HTML

<html>
<head>
<title>mxGraph Java</title>
<link rel="stylesheet" href="../docs/css/manual-styles.css">
<link rel="stylesheet" href="../docs/css/manual-colors.css">
</head>
<body>
<h1>mxGraph Java</h1>
<h2>Installation</h2>
<p>
The following assumes that <a href="http://www.eclipse.org">Eclipse</a>
is used for development. To start development, open the Eclipse project
files in the top-level directory by going to File, New, Java Project,
choose Create project from existing source and select the top-level
directory.
</p>
<h2>Examples</h2>
<p>
com/mxgraph/examples contains the following examples:
</p>
<ul>
<li>Codec - Using the codec for input/output.</li>
<li>Frame - Placing a graph image inside a JFrame.</li>
<li>GraphControl - Using a graph image to create a control.</li>
<li>Layout - Using a graph layout class to arrange nodes.</li>
<li>PdfExport - Using a library to create a PDF from a graph.</li>
</ul>
<p>
com/mxgraph/examples/swing contains the following examples:
</p>
<ul>
<li>ClickHandler - Handling click events on a cells.</li>
<li>CustomCanvas - Using a custom canvas for rendering.</li>
<li>GraphEditor - Full-featured graph editor example.</li>
<li>SchemaEditor - Using heavyweight components in a graph.</li>
<li>UserObject - Working with user objects in JFC/Swing.</li>
<li>Validation - An interactive validation example.</li>
</ul>
<p>
com/mxgraph/examples/web contains more servlet examples.
Right click Main.java in this directory, choose Run As, Java
Application (in Eclipse) or execute "ant web-example" in the
java directory (using Ant) and point your browser to
<a href="http://localhost:8080/">http://localhost:8080/</a>.
</p>
<hr size="1">
&copy; 2006-2017 by JGraph Ltd.
</body>
</html>