<html>
<head>
<title>ReadMe</title>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<script LANGUAGE="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
</head>
<body BGCOLOR="#FFFFFF" TEXT="#000000">
<table WIDTH="100%" BORDER="0" CELLSPACING="5" CELLPADDING="5" BGCOLOR="#660000">
<tr>
<td>
<div ALIGN="CENTER"><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="6" COLOR="#FFFFFF"><b>TSimpleGraph
v2.62</b></font></div>
</td>
</tr>
</table>
<p><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">Copyright ©
<a HREF="mailto:kambiz@delphiarea.com">Kambiz R. Khojasteh</a>. All rights reserved.<br>
Get future component updates from <a HREF="http://www.delphiarea.com">http://www.delphiarea.com</a>.<br>
</font></p>
<table BORDER="1" CELLSPACING="2" CELLPADDING="5" BORDERCOLOR="#FFFFFF" ALIGN="LEFT">
<tr BGCOLOR="#333333" ALIGN="CENTER" VALIGN="MIDDLE">
<td NOWRAP><b><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF">Delphi
4</font></b></td>
<td NOWRAP><b><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF">Delphi
5</font></b></td>
<td NOWRAP><b><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF">Delphi
6</font></b></td>
<td NOWRAP><b><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF">Delphi
7</font></b></td>
<td NOWRAP><b><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF">Delphi 2005 </font></b></td>
<td NOWRAP><b><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF">Delphi 2006</font></b></td>
</tr>
</table>
<p><br>
<br>
</p>
<p><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="4"><b><a NAME="DESCRIPTION"></a><br>
DESCRIPTION</b></font></p>
<p>
<p><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">TSimpleGraph is
a visual component, which provides a simple user interface for drawing graphs. The control and its graph objects are fully customizable in the way that let you create almost any kind of graphs. </font></p>
<p><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">Currently the control has seven node objects for basic geometric shapes: Triangle, Rhomboid, Rectangle, Round Rectangle, Pentagon, Hexagon, and Ellipse. In addition, by sub classing a class and overriding one or two methods, you can provide your own desired nodes. The line (link) object of the control is very flexible, and can be hook to other objects or connect them together. </font></p>
<p><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">By the way, the control has also some methods for supporting Delphi's clipboard and printer objects.</font></p>
<p></p>
<p><font FACE="Verdana, Arial, Helvetica, sans-serif"><b><a NAME="INTERFACE"></a><br>
<font SIZE="4">INTERFACE</font></b></font></p>
<ul>
<li><b><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="3">Classes</font><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><br>
<br>
</font></b>
<table WIDTH="90%" BORDER="0" CELLSPACING="0" CELLPADDING="5">
<tr>
<td WIDTH="6"> </td>
<td BGCOLOR="#EEEEEE" WIDTH="825"> <font SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif"><b><a NAME="TSimpleGraph"></a>TSimpleGraph
= class(TCustomControl)<br>
</b>TSimpleGraph is a windowed control that provides a canvas for drawing
a graph. It also manages relation between graph objects and the application.</font>
<p>
<table WIDTH="94%" BORDER="1" CELLSPACING="0" CELLPADDING="5" BGCOLOR="#FFFFCC" ALIGN="CENTER">
<tr>
<td BGCOLOR="#660000"><b><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF">Key
Properties</font></b></td>
</tr>
<tr>
<td><strong><a NAME="ClipboardFormats"></a><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">ClipboardFormats: TGraphClipboardFormats<br>
TGraphClipboardFormats = set of (cfNative, cfMetafile, cfBitmap)</font></strong><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><br>
Determines which formats should be used for copying graph contents in to the Windows clipboard.</font>
<p> </p>
<table WIDTH="90%" BORDER="0" CELLSPACING="5" CELLPADDING="0" ALIGN="CENTER">
<tr VALIGN="TOP">
<td WIDTH="15%"><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><b>cfNative</b></font></td>
<td WIDTH="20"><font SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif"> </font></td>
<td><font SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif">CF_SIMPLEGRAPH</font></td>
<td WIDTH="20"><font SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif"> </font></td>
<td><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">Graph copies in to the clipboard as native format. <a HREF="#PasteFromClipboard">PasteFromClipboard</a> only supports this format. </font></td>
</tr>
<tr VALIGN="TOP">
<td WIDTH="15%"><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><b>cfMetafile</b></font></td>
<td WIDTH="20"><font SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif"> </font></td>
<td><font SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif">CF_ENHMETAFILE</font></td>
<td WIDTH="20"><font SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif"> </font></td>
<td><font SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif">Graph copies in to the clipboard as an enhanced metafile. </font></td>
</tr>
<tr VALIGN="TOP">
<td WIDTH="15%"><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><b>cfBitmap</b></font></td>
<td WIDTH="20"><font SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif"> </font></td>
<td><font SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif">CF_BITMAP</font></td>
<td WIDTH="20"><font SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif"> </font></td>
<td><font SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif">Graph copies in to the clipboard as a device dependent bitmap. </font> </td>
</tr>
</table>
<p> </p></td>
</tr>
<tr>
<td>
<p><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><b><a NAME="CommandMode"></a>CommandMode:
TGraphCommandMode<br>
TGraphCommandMode = (cmViewOnly, cmEdit, cmInsertNode, cmLinkNodes)</b></font><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><br>
Determines which kind of commands are available to the user.</font>
</p>
<table WIDTH="90%" BORDER="0" CELLSPACING="5" CELLPADDING="0" ALIGN="CENTER">
<tr>
<td WIDTH="15%" VALIGN="TOP"><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><b>cmViewOnly</b></font></td>
<td WIDTH="20"> </td>
<td><font FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">The