|
From: Jesus M. S. Jr. <jm...@ih...> - 2001-11-16 19:51:34
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 15 Nov 2001 23:55, kiran wrote: > Hi.. > I am new to this project. I need some help in the following situation. Any > help would be greatly appreciated. what do i need to do to allow an > visualedge to be drawn as series of line segments It already does this. VisualEdge, like VisualVertex, implements VisualGraphComponent which has an overloaded setGeneralPath() to define the line segments that make up the drawing. It either takes a java.awt.geom.GeneralPath or a java.awt.geom.PathIterator. > using GraphEditor Well, if you mean interactively ... it does not have to be in GraphEditor. You can create your own class to do that. > also serialised as a series of line segments into an XML file. It also serializes these segments as well into XGMML. See the serializerVertex() and serializeEdge() methods of GraphToXGMMLSAXHandler. These segments are also read back from XGMML . > Please indicate broadly the changes needed for the classes to customize > openjgraph for the above situation. > > Thanks in advance, > > Rgs, > Kiran - ---------------------------------------- Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1" Content-Transfer-Encoding: quoted-printable Content-Description: - ---------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjv1b0gACgkQOPLhoZL+0H3aKQCgh6o8WMy7Rybu3jgHE6T8p3vl YQIAoJgzkEj7NAiuCWWZmwWuUA2TxlEr =3/Gy -----END PGP SIGNATURE----- |