You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(4) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(4) |
Feb
(3) |
Mar
(1) |
Apr
(5) |
May
(14) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
(3) |
Dec
|
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2003 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
|
From: Jesus M. S. Jr. <jm...@ih...> - 2003-01-23 10:13:24
|
1) That is an existing problem only on the drawing aspect of the graph. The code that draws the edges does not take into account if there are other edges connecting the same vertices ... thus overlapping each other when the drawing is made. 2) Not with the StraightLineLayout. You can try the OrthogonalLineLayout Venu Madhav wrote: > Hi, > I am unable to code scenario shown below using open > jgraph................ please let me know if it possible. > > > --------- > ------------ > | | > <-------------------------| | > | A | > ------------------------> | B | > > --------- > |------------ > > When I code it, I am getting two overlapping edges, Please let me know > if interconnection between two vertices with seperate edge > interconnection possible................ > > 2. Is it not possible to make the edges bendable and resizable. > > Venu > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Openjgraph-development mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openjgraph-development |
|
From: Venu M. <ve...@in...> - 2003-01-21 12:15:02
|
Hi,
I am unable to code scenario shown below using open
jgraph................ please let me know if it possible.
---------
------------
| |
<-------------------------| |
| A |
------------------------> | B |
---------
|------------
When I code it, I am getting two overlapping edges, Please let me know
if interconnection between two vertices with seperate edge
interconnection possible................
2. Is it not possible to make the edges bendable and resizable.
Venu
|
|
From: Maurizio P. <pat...@di...> - 2002-12-27 19:35:54
|
First Call for Papers 11th International Symposium on Graph Drawing - GD2003 September 21-24, 2003, Perugia, Italy http://www.gd2003.org/ Please find hereunder a first call for papers for the 11th International Symposium on Graph Drawing - GD2003. Important Dates: ---------------- - Submissions of papers, demos, and posters: May 31, 2003 - Notification of acceptances: July 15, 2003 A preliminary version of the GD2003 poster can be downloaded at the following URL: http://www.gd2003.org/poster.html This first call for papers and preliminary version of the poster list the current sponsors of the Symposium. If your institution or company would like to become a sponsor of GD2003, and have its name and logo on the future posters and calls for papers, we invite you to visit http://www.gd2003.org/ A final version of the call for papers and of the poster (a hard copy in large format) will be sent worldwide in March. If you can help us publicize the symposium by distributing the poster, please send us an email request for the number of extra copies you would like to receive. To contact us, please send an email to: co...@gd... Best regards, Giuseppe Liotta (conference chair) http://www.diei.unipg.it/~liotta/ Maurizio Patrignani (publicity chair) http://www.dia.uniroma3.it/~patrigna/ Walter Didimo (local arrangements co-chair) http://www.dia.uniroma3.it/~didimo/ ========================================================================= First Call for Papers 11th International Symposium on Graph Drawing GD2003 September 21-24, 2003, Perugia, Italy http://www.gd2003.org/ e-mail: co...@gd... Graph Drawing is concerned with the geometric representation of graphs and networks and is motivated by those applications where it is crucial to visualize structural information as graphs. Bridging the gap between theoretical advances and implemented solutions is an important aspect of the conference. Indeed, advances in graph drawing are a key factor in such technological areas as Web computing, e-commerce, VLSI circuit design, information systems, software engineering, bioinformatics, networking, and cybergeography. Researchers and practitioners working on theoretical and practical aspects of graph drawing are welcome to participate. * Scope. ------ The range of topics that are within the scope of the International Symposium on Graph Drawing includes (but is not limited to): - Visualization of computer networks and Web maps - Graph algorithms - Visualization of software engineering diagrams - Geometric graph theory and geometric computing - Software systems and libraries for graph visualization - Topology and planarity - Visualization of database schemas - Graph combinatorics and optimization - Visualization of chemical structures and molecules * Call for Papers, Demos, and Posters. ------------------------------------ Authors are invited to submit papers describing original research and surveys of theoretical or practical significance to graph drawing. Demonstrations of systems incorporating original and innovative research ideas are also solicited. A system demonstration should include illustrative screen dumps and a description of the system's functionalities. Regular papers and demos must be labeled as either long or short; long papers will be assigned 12 pages in the conference proceedings, and short papers 6 pages. Submissions of posters in graph drawing and related areas are also solicited. The purpose is to provide a forum for the communication of results (which may appear elsewhere) to the graph drawing community. A poster will be given 2 pages in the conference proceedings. Submission of substantially similar papers or demos to GD 2003 and to other conferences with published proceedings is not allowed. * Graph Drawing Contest. ---------------------- Following the tradition of previous conferences, a graph drawing contest will be held. A $1,000 prize will be awarded to the winner. Details on the contest will be provided on the conference web site. * Instructions for Authors. ------------------------- Each submission must include an indication of its type (paper, demo description, or poster) and contact information for the primary author. For a paper or a demo, an indication about whether it is a regular or a short submission must also be given. Electronic submissions are strongly encouraged. Detailed submission instructions will be provided on the conference web site. * Important Dates. ---------------- - Submissions of papers, demos, and posters: May 31, 2003 - Notification of acceptance: July 15, 2003 - Graph Drawing Contest Submissions: TBA * Proceedings. ------------ Accepted submissions will be published in the conference proceedings, which we plan to include in the Springer-Verlag series Lecture Notes in Computer Science. Final versions of accepted submissions are due at the conference. Instructions for Authors will be available after the paper notification deadline. * Location. --------- The Symposium on Graph Drawing will be held in Perugia, Italy. Perugia is one of the most ancient Italian cities, located in the center of the Country at the heart of the "Green Umbria" region. Because of its several historical and artistic amenities, the city of Perugia and its neighborhood attract many tourists every year. See also http://www.perugiaonline.it/ for further information. Perugia is also the location of one of European's oldest universities, the State University (founded in 1308), as well as the University for Foreigners (founded in 1925). With over 35,000 students from all over the world, both Universities play an important role in the city life. Details about hotels and registration instructions will be provided on the conference web site. * Program Committee. ------------------ Ashim Garg (SUNY Buffalo, USA) Michael Goodrich (University of California, Irvine, USA) Ferran Hurtado (Universitat Politcnica de Catalunya, Spain) Giuseppe Liotta (University of Perugia, Italy), chair Joe Marks (MERL, USA) Henk Meijer (Queens University, Canada) Stephen North (AT&T Research Labs, USA) Patrice Ossona de Mendez (EHESS, CNRS, France) Md. Saidur Rahman (Tohoku University, Japan) Farhad Shahrokhi (University of North Texas, USA) Roberto Tamassia (Brown University, USA) Ioannis G. Tollis (University of Texas, Dallas, USA) Dorothea Wagner (University of Konstanz, Germany) Sue H. Whitesides (McGill University, Canada) Stephen Wismath (University of Lethbridge, Canada) David Wood (Carleton University, Canada) * Conference Organization. ------------------------ C. Binucci (University of Perugia) E. Di Giacomo (University of Perugia) W. Didimo (University of Perugia), local arrangements co-chair G. Liotta (University of Perugia), conference chair M. Patrignani (University of Roma Tre), publicity chair M. Pizzonia (University of Roma Tre) * Contest Committee. ------------------ Franz Brandenburg (University of Passau), chair * Invited Speakers. ----------------- Pat Hanrahan (Stanford Univ.) * More Info. ---------- For more information and questions about GD2003 please send email to co...@gd... * Sponsors. --------- OREAS - Optimization Research and Software INTEGRA Sistemi Srl DIGILAB 2000 - Digital Systems Engineering DIEI - Dip. di Ing. Elettronica e dell'Informazione - Univ. di Perugia DIA - Dipartimento di Informatica e Automazione - Univ. Roma Tre |
|
From: Eric G. <ega...@xe...> - 2002-04-18 11:48:38
|
Hi there ! I've downloaded the project and played a bit with it. Sounds Great ! = looks like it does a lot of what I'm looking for. Anyway 2 questions for you guys: - I integrated the graph editor (only a single editor) as a frame run = from my main program and I'm seeing some refresh problem when I = remove/resize it. Did domeone already experienced it ? - Why doesn't it use the standard XML parsers ? - Despite what I can see in the screenshots provided I cannot make the = slidebar work properly when the graph overlap the main frame size. Do = you ? - Is it possble to participate in development ? Thanks a lot, Eg\\*=20 Xevo Emea Sas=20 Les Algorithmes / Aristote B=20 2000, route des Lucioles. BP29=20 06901 Sophia-Antipolis - France=20 email: ega...@xe...=20 mobile: +33 6 16 92 68 57=20 office: +33 4 92 94 48 45=20 =20 |
|
From: Jesus M. S. Jr. <jm...@ih...> - 2001-11-16 20:09:31
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Maybe a little clarification is in order. Execute runsample1.sh ( or runsample1.bat for windows ). You would see two graphs. Hit the layout button on the right, then drag one of the vertices. You should see an edge being drawn orthogonally ( vertical and horizontal lines only ) instead of being drawn straight. Now OpenGraph also reads and writes them back to XGMML. BUT ..... the problem is keeping track of the state, which is not saved into XGMML. This state tells the layout manager things like which "port" in each vertex is the orthogonal edge connected to. The end result is that, although you have read the orthogonal edge from XGMML, it is not displayed properly. ( See the Release Notes for 0.9.0 under XGMML ). Maybe my understanding of XML is not clear, or maybe GraphXML is better suited for these kind of things .... John On Sat, 17 Nov 2001 06:55, Jesus M. Salvo Jr. wrote: > -----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. > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjv1c3oACgkQOPLhoZL+0H27vgCggCpl4leYyRtWIABfWmG45Til IDIAn3hSOVLEvJGXo36O/QR/NRgX9dml =cBWz -----END PGP SIGNATURE----- |
|
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----- |
|
From: kiran <ki...@el...> - 2001-11-15 12:51:59
|
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 using GraphEditor and also serialised as a series of line = segments into an XML file. Please indicate broadly the changes needed = for the classes to customize openjgraph for the above situation. Thanks in advance, Rgs, Kiran |
|
From: Jesus M. S. Jr. <jm...@ih...> - 2001-10-09 10:42:16
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Okay, that patch is now in CVS. However, I did make some adjustments. The most important of this is that of ChangeStateEvent. There are no longer the various ChangeToXXXStateEvent classes. Instead, you pass as a parameter to the ChangeStateEvent's constructor the new state you are requesting. The end result is that, instead of ending up with N state classes and N ChangeStateEvent classes, you end up with N state classes and only 1 ChangeStateEvent class. I know some who have more than a handful of states ... and writing a separate ChangeTo[statename]Event class maybe more of a hassle in those cases. Furthermore, GraphPanel now also implements KeyListener, and VisualGraphComponent and AbstractVisualGraphComponent now have an additional processKeyEvent() methods. However, GraphPanel's informTargetVisualGraphComponentofKeyEvent ( ... we should really change the name of those 2 methods to something shorter ... ) currently does not call the prcessKeyEvent of the VisualGraphComponent, since I have not yet figured the best way to retrieve the currently focused VisualGraphComponent within GraphPanel, though a suggestion is written in the Javadoc for that method. You may want to get the latest CVS source to try them out. BTW, it is probably best for all that future discussions WRT openjgraph development be made via the development mailing list. I am guilty too of failing to put the message on the mailing list. :( Regards, John On Sat, 6 Oct 2001 16:57, you wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > I thought of this again ... and I think you are right with letting the > state determine the next possible state. ( i.e.: GraphPanelState's methods > returning GraphPanelState as well ). > > It kind of reminds me what I did developing a delivery and tracking system > way back. An order can be in any of several "states" ( .e.g: ordered, > purchased, in transit, delivered, attempted delivery, lost, etc. ) I > remember well documenting the next possible states for each state. ( e.g.: > for the state to become "delivered", its current state must be one of "in > transit", "attempted delivery", etc. ) > > I'll put your changes in and add the the keyXXX() methods as well to the > GraphPanelState and GraphPanel classes. > > Then we should be ready for 0.9.1 release. > > On Fri, 5 Oct 2001 18:37, you wrote: > > Question: When do you sleep? I see a 5 a.m. at this email. And a 11 pm at > > the email before. > > My last e-mail to you was "Fri, 5 Oct 2001 13:01:57 +1000". I sent it at > 1:00pm yesterday. I think what you see is 13:00 - 10:00 = 3:00 + 2:00 ( for > Germany ) = 5:00. > > > Regards, > > > > Armin > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.4 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iEYEARECAAYFAju+q1EACgkQAvd5SY4qWYzqLACfVEdn8uC8DHn4Ma7VBxj2TAB9 > QkoAn3ct5MNK9F3hrt+v4GMj2xIlNrDe > =72Y/ > -----END PGP SIGNATURE----- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjvC1XoACgkQAvd5SY4qWYzMHACfdHX1oSsQvjZl8JyDrYz+22Vf k8IAmQFfsjHqsZu7qWUpWWFGbHtK7q1w =FYYW -----END PGP SIGNATURE----- |
|
From: Patrick H. <pa...@13...> - 2001-08-03 16:06:26
|
I see that zooming is planned as a future addition to OpenJGraph. Has there been any progress on this front? The software I am writing that uses OpenJGraph really needs zooming since we are planning to visualize graphs with thousands (even tens or hundreds of thousands) of vertices. Right now, just displaying ~20 causes the scroll pane to get pretty cramped. If this topic is still open for discussion, has there been any investigation into the Jazz library (http://www.cs.umd.edu/hcil/jazz/)? They say they implement zooming capabilities as a basic feature and even use the formal name Zoomable User Interfaces. What is the feasibility of using Jazz as a higher-level interface to making graphs? -Patrick Patrick L. Hartling | Research Assistant, VRAC pa...@13... | 2624 Howe Hall -- (515)294-4916 http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ |
|
From: Jesus M. S. Jr. <jm...@ih...> - 2001-05-20 10:33:14
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On the next release, changes will be made so that Vertex will be an interface instead of a class. The reason is that developers may already have existing class(es) that they want to use as a Vertex. With the current implementation, a Vertex instance would have to be created for every other instance of the class the developer will wrap to ( via the Vertex.setObject() method ). Take 10,000 instances of these classes, and you would also need 10,000 instances of Vertex. The current Vertex class will be called VertexImpl ( also a class ), while the new Vertex will be an interface. John -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjsHnmYACgkQAvd5SY4qWYzfzACgjZmU+D5nWvZ5OJZteWpGJxR5 OnUAni9JNsjoVGCvU88jXxAiyf727vBS =U8IZ -----END PGP SIGNATURE----- |
|
From: Jesus M. S. Jr. <jm...@ih...> - 2001-05-04 21:06:11
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 That's strange. That should have at least caused a compiler error, since Graph and VisualGraph do not belong to the same hierarchy. VisualGraph is a wrapper around Graph for visual properties. Anyway, good to hear. Does the repaint() also work now? On Fri, 4 May 2001 14:42, Patrick Hartling wrote: > Okay, I figured out what I was doing wrong. When I set up my > GraphScrollPane, I was passing it a VisualGraph but calling setGraph() > instead of setVisualGraph(). Now it's all working as desired. =) > Thanks for the help. > > -Patrick > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjrzGrgACgkQAvd5SY4qWYx7KgCeNV74vnpoSfovg79vUpf5yPXL nTYAoLJxZfvjvuhSMB54lmCkg5jYei0L =ptzN -----END PGP SIGNATURE----- |
|
From: Patrick H. <pa...@13...> - 2001-05-04 04:42:07
|
Okay, I figured out what I was doing wrong. When I set up my GraphScrollPane, I was passing it a VisualGraph but calling setGraph() instead of setVisualGraph(). Now it's all working as desired. =) Thanks for the help. -Patrick Patrick Hartling <pa...@13...> wrote: } I have found that the VisualVertex constructor is being called twice for } every vertex I add to the graph. In the simple program I wrote where the } listeners work, this is not the case. What might I be doing that would } cause the VisualVertex contructor to be called repeatedly? } } -Patrick } } "Jesus M. Salvo Jr." <jm...@ih...> wrote: } } } -----BEGIN PGP SIGNED MESSAGE----- } } Hash: SHA1 } } } } Okay, so it seems you are using 0.8.1. } } } } Was the vertex removed and then added before you clicked on the vertex? } } What happens if you start with a Graph with no vertices, add a single verte *** x } } and adding an additional MouseListener to the visualvertex of the added } } vertex, then clicking on the visualvertex? } } } } On Fri, 4 May 2001 03:17, Patrick Hartling wrote: } } > To folow up on this, further debugging has shown that an element is } } > being added to mouseListeners in AbstractVisualGraphComponent properly. } } > When processMouseEvent() is called, however, mouseListeners has no } } > elements. This leads me to believe that the code below is modifying } } > the wrong VisualVertex object (i.e., a different object than what is } } > clicked on in the graph panel). If that is case, how do I get a } } > reference to the VisualVertex that is in the VisualGraph so that I can } } > operate on it? Thanks. } } > } } > -Patrick } } > } } > } } > _______________________________________________ } } > Openjgraph-development mailing list } } > Ope...@li... } } > http://lists.sourceforge.net/lists/listinfo/openjgraph-development } } -----BEGIN PGP SIGNATURE----- } } Version: GnuPG v1.0.4 (GNU/Linux) } } Comment: For info see http://www.gnupg.org } } } } iEYEARECAAYFAjrxzJsACgkQAvd5SY4qWYxtgQCdFrb4JSgasb6fbEqLFDWPQ20G } } rI8AmgKHqY40cfNjdT08YfI2FExAOU8Y } } =iatU } } -----END PGP SIGNATURE----- } } Patrick L. Hartling | Research Assistant, VRAC } pa...@13... | 2624 Howe Hall -- (515)294-49 *** 16 } http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ } } _______________________________________________ } Openjgraph-development mailing list } Ope...@li... } http://lists.sourceforge.net/lists/listinfo/openjgraph-development Patrick L. Hartling | Research Assistant, VRAC pa...@13... | 2624 Howe Hall -- (515)294-4916 http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ |
|
From: Patrick H. <pa...@13...> - 2001-05-04 03:30:26
|
I have found that the VisualVertex constructor is being called twice for every vertex I add to the graph. In the simple program I wrote where the listeners work, this is not the case. What might I be doing that would cause the VisualVertex contructor to be called repeatedly? -Patrick "Jesus M. Salvo Jr." <jm...@ih...> wrote: } -----BEGIN PGP SIGNED MESSAGE----- } Hash: SHA1 } } Okay, so it seems you are using 0.8.1. } } Was the vertex removed and then added before you clicked on the vertex? } What happens if you start with a Graph with no vertices, add a single vertex } and adding an additional MouseListener to the visualvertex of the added } vertex, then clicking on the visualvertex? } } On Fri, 4 May 2001 03:17, Patrick Hartling wrote: } > To folow up on this, further debugging has shown that an element is } > being added to mouseListeners in AbstractVisualGraphComponent properly. } > When processMouseEvent() is called, however, mouseListeners has no } > elements. This leads me to believe that the code below is modifying } > the wrong VisualVertex object (i.e., a different object than what is } > clicked on in the graph panel). If that is case, how do I get a } > reference to the VisualVertex that is in the VisualGraph so that I can } > operate on it? Thanks. } > } > -Patrick } > } > } > _______________________________________________ } > Openjgraph-development mailing list } > Ope...@li... } > http://lists.sourceforge.net/lists/listinfo/openjgraph-development } -----BEGIN PGP SIGNATURE----- } Version: GnuPG v1.0.4 (GNU/Linux) } Comment: For info see http://www.gnupg.org } } iEYEARECAAYFAjrxzJsACgkQAvd5SY4qWYxtgQCdFrb4JSgasb6fbEqLFDWPQ20G } rI8AmgKHqY40cfNjdT08YfI2FExAOU8Y } =iatU } -----END PGP SIGNATURE----- Patrick L. Hartling | Research Assistant, VRAC pa...@13... | 2624 Howe Hall -- (515)294-4916 http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ |
|
From: Patrick H. <pa...@13...> - 2001-05-03 22:04:53
|
"Jesus M. Salvo Jr." <jm...@ih...> wrote: } -----BEGIN PGP SIGNED MESSAGE----- } Hash: SHA1 } } Okay, so it seems you are using 0.8.1. } } Was the vertex removed and then added before you clicked on the vertex? } What happens if you start with a Graph with no vertices, add a single vertex } and adding an additional MouseListener to the visualvertex of the added } vertex, then clicking on the visualvertex? Okay, this works just fine. I modified the SameGraph example program so that it only adds a single vertex (to a single GraphEditor). I added a very simple MouseListener to the VisualVertex, and it is doing what I expect. I guess something must be going wrong with my code. -Patrick } On Fri, 4 May 2001 03:17, Patrick Hartling wrote: } > To folow up on this, further debugging has shown that an element is } > being added to mouseListeners in AbstractVisualGraphComponent properly. } > When processMouseEvent() is called, however, mouseListeners has no } > elements. This leads me to believe that the code below is modifying } > the wrong VisualVertex object (i.e., a different object than what is } > clicked on in the graph panel). If that is case, how do I get a } > reference to the VisualVertex that is in the VisualGraph so that I can } > operate on it? Thanks. } > } > -Patrick } > } > } > _______________________________________________ } > Openjgraph-development mailing list } > Ope...@li... } > http://lists.sourceforge.net/lists/listinfo/openjgraph-development } -----BEGIN PGP SIGNATURE----- } Version: GnuPG v1.0.4 (GNU/Linux) } Comment: For info see http://www.gnupg.org } } iEYEARECAAYFAjrxzJsACgkQAvd5SY4qWYxtgQCdFrb4JSgasb6fbEqLFDWPQ20G } rI8AmgKHqY40cfNjdT08YfI2FExAOU8Y } =iatU } -----END PGP SIGNATURE----- Patrick L. Hartling | Research Assistant, VRAC pa...@13... | 2624 Howe Hall -- (515)294-4916 http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ |
|
From: Patrick H. <pa...@13...> - 2001-05-03 21:54:26
|
"Jesus M. Salvo Jr." <jm...@ih...> wrote: } Okay, so it seems you are using 0.8.1. Yes, I am. } Was the vertex removed and then added before you clicked on the vertex? } What happens if you start with a Graph with no vertices, add a single vertex } and adding an additional MouseListener to the visualvertex of the added } vertex, then clicking on the visualvertex? I will have to try this and get back to you. -Patrick } On Fri, 4 May 2001 03:17, Patrick Hartling wrote: } > To folow up on this, further debugging has shown that an element is } > being added to mouseListeners in AbstractVisualGraphComponent properly. } > When processMouseEvent() is called, however, mouseListeners has no } > elements. This leads me to believe that the code below is modifying } > the wrong VisualVertex object (i.e., a different object than what is } > clicked on in the graph panel). If that is case, how do I get a } > reference to the VisualVertex that is in the VisualGraph so that I can } > operate on it? Thanks. } > } > -Patrick } > } > } > _______________________________________________ } > Openjgraph-development mailing list } > Ope...@li... } > http://lists.sourceforge.net/lists/listinfo/openjgraph-development Patrick L. Hartling | Research Assistant, VRAC pa...@13... | 2624 Howe Hall -- (515)294-4916 http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ |
|
From: Patrick H. <pa...@13...> - 2001-05-03 21:52:49
|
"Jesus M. Salvo Jr." <jm...@ih...> wrote: } -----BEGIN PGP SIGNED MESSAGE----- } Hash: SHA1 } } On Fri, 4 May 2001 06:35, Jesus M. Salvo Jr. wrote: } > -----BEGIN PGP SIGNED MESSAGE----- } > Hash: SHA1 } > } > Although the actual String has been changed, it has never been rendered. } > } > As soon as an Edge is added to the Graph, and it has a corresponding } > VisualGraph, the VisualGraph is told to repaint() itself so that the new } > VisualEdge is drawn. Your setText() is called after the repaint() of the } > VisualGraph. So you need to call repaint() again. } > } } Without adding the repaint() first, try forcing a repaint of the VisualGraph } ( e.g.: by moving a Vertex ). It should display the new text for the Edge. } } Calling repaint() is actually what happens when you right-click on a Vertex } or Edge ( in Normal State ), then modify the properties then click OK or } Apply. I tried this, and I tried including a repaint() call immediately after I set the text on the edge. Neither works. :( Maybe I have some nasty bug somewhere that I am missing. Is there some way that vertices and edges could get removed and re-added behind the scenes? -Patrick Patrick L. Hartling | Research Assistant, VRAC pa...@13... | 2624 Howe Hall -- (515)294-4916 http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ |
|
From: Jesus M. S. Jr. <jm...@ih...> - 2001-05-03 21:20:27
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Okay, so it seems you are using 0.8.1. Was the vertex removed and then added before you clicked on the vertex? What happens if you start with a Graph with no vertices, add a single vertex and adding an additional MouseListener to the visualvertex of the added vertex, then clicking on the visualvertex? On Fri, 4 May 2001 03:17, Patrick Hartling wrote: > To folow up on this, further debugging has shown that an element is > being added to mouseListeners in AbstractVisualGraphComponent properly. > When processMouseEvent() is called, however, mouseListeners has no > elements. This leads me to believe that the code below is modifying > the wrong VisualVertex object (i.e., a different object than what is > clicked on in the graph panel). If that is case, how do I get a > reference to the VisualVertex that is in the VisualGraph so that I can > operate on it? Thanks. > > -Patrick > > > _______________________________________________ > Openjgraph-development mailing list > Ope...@li... > http://lists.sourceforge.net/lists/listinfo/openjgraph-development -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjrxzJsACgkQAvd5SY4qWYxtgQCdFrb4JSgasb6fbEqLFDWPQ20G rI8AmgKHqY40cfNjdT08YfI2FExAOU8Y =iatU -----END PGP SIGNATURE----- |
|
From: Jesus M. S. Jr. <jm...@ih...> - 2001-05-03 21:10:07
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Are you using release 0.8.1? There was a bug with 0.8.0 wherein the
mouseXXX() methods in AbstractVisualGraphComponents were never called. This
is fixed with 0.8.1. ( See on-line Release Notes for more details ).
On Fri, 4 May 2001 01:36, Patrick Hartling wrote:
> I am trying to handle the event generated when a VisualVertex object is
> clicked on by the user. I have code similar to the following:
>
> public class MyClass extends VisualGraph {
> public boolean addVertex (Vertex v) {
> try {
> add(v);
>
> VisualVertex vis_vertex = getVisaulVertex(v);
> vis_vertex.addMouseListener(new MouseListener () { ... });
> }
> catch (Exception e) {
> // Handle exception ...
> }
> }
> }:
>
> My listener never gets called--or at least, the mouseClicked() method
> never gets called. Am I misunderstanding how vertex selection events
> are generated, or does my graph have to be in a certain state for the
> mouse clicks to be received?
>
> -Patrick
>
>
> Patrick L. Hartling | Research Assistant, VRAC
> pa...@13... | 2624 Howe Hall -- (515)294-4916
> http://www.137.org/patrick/ | http://www.vrac.iastate.edu/
>
> _______________________________________________
> Openjgraph-development mailing list
> Ope...@li...
> http://lists.sourceforge.net/lists/listinfo/openjgraph-development
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjrxyi8ACgkQAvd5SY4qWYw/VQCggeMNSn33irLjN8a+aJqdC9HW
aZgAoKZUEqUIkCrGIF7PxbC0o+QdTbUC
=0wXV
-----END PGP SIGNATURE-----
|
|
From: Jesus M. S. Jr. <jm...@ih...> - 2001-05-03 21:06:42
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 4 May 2001 06:35, Jesus M. Salvo Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Although the actual String has been changed, it has never been rendered. > > As soon as an Edge is added to the Graph, and it has a corresponding > VisualGraph, the VisualGraph is told to repaint() itself so that the new > VisualEdge is drawn. Your setText() is called after the repaint() of the > VisualGraph. So you need to call repaint() again. > Without adding the repaint() first, try forcing a repaint of the VisualGraph ( e.g.: by moving a Vertex ). It should display the new text for the Edge. Calling repaint() is actually what happens when you right-click on a Vertex or Edge ( in Normal State ), then modify the properties then click OK or Apply. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjrxyVwACgkQAvd5SY4qWYxGoACgmMgF/5IdU4u+hJbqVjoy0vAz JicAoJ3sTcCAwF7SWXDFowQa5j6Ul+jm =tbdw -----END PGP SIGNATURE----- |
|
From: Jesus M. S. Jr. <jm...@ih...> - 2001-05-03 20:31:14
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Although the actual String has been changed, it has never been rendered.
As soon as an Edge is added to the Graph, and it has a corresponding
VisualGraph, the VisualGraph is told to repaint() itself so that the new
VisualEdge is drawn. Your setText() is called after the repaint() of the
VisualGraph. So you need to call repaint() again.
On Fri, 4 May 2001 01:31, Patrick Hartling wrote:
> I am having a problem trying to override the default text assigned to a
> VisualEdge object. My code is roughly like the following:
>
> public class MyClass extends VisualGraph {
> public boolean connectNodes (Vertex from, Vertex to) {
> try {
> Edge edge = getGraph().addEdge(from, to);
> VisualEdge vis_edge = getVisualEdge(edge);
>
> vis_edge.setText("My label");
> }
> catch (Exception e) {
> // Handle exception ...
> }
> }
> }:
>
> If I call vis_edge.getText(), it gives me a String containing "My label",
> but in the visual graph, the label always displays the from -> to
> relationship. What am I doing wrong?
>
> -Patrick
>
>
> Patrick L. Hartling | Research Assistant, VRAC
> pa...@13... | 2624 Howe Hall -- (515)294-4916
> http://www.137.org/patrick/ | http://www.vrac.iastate.edu/
>
> _______________________________________________
> Openjgraph-development mailing list
> Ope...@li...
> http://lists.sourceforge.net/lists/listinfo/openjgraph-development
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjrxwQ8ACgkQAvd5SY4qWYxemgCfahEy+qCd1rf4We7clG3s3DQq
TQUAoIPuIUhZQJBMcv0SAnqaxhGseH3E
=NCP7
-----END PGP SIGNATURE-----
|
|
From: Patrick H. <pa...@13...> - 2001-05-03 17:17:07
|
To folow up on this, further debugging has shown that an element is
being added to mouseListeners in AbstractVisualGraphComponent properly.
When processMouseEvent() is called, however, mouseListeners has no
elements. This leads me to believe that the code below is modifying
the wrong VisualVertex object (i.e., a different object than what is
clicked on in the graph panel). If that is case, how do I get a
reference to the VisualVertex that is in the VisualGraph so that I can
operate on it? Thanks.
-Patrick
Patrick Hartling <pa...@13...> wrote:
} I am trying to handle the event generated when a VisualVertex object is
} clicked on by the user. I have code similar to the following:
}
} public class MyClass extends VisualGraph {
} public boolean addVertex (Vertex v) {
} try {
} add(v);
}
} VisualVertex vis_vertex = getVisaulVertex(v);
} vis_vertex.addMouseListener(new MouseListener () { ... });
} }
} catch (Exception e) {
} // Handle exception ...
} }
} }
} }:
}
} My listener never gets called--or at least, the mouseClicked() method
} never gets called. Am I misunderstanding how vertex selection events
} are generated, or does my graph have to be in a certain state for the
} mouse clicks to be received?
}
} -Patrick
}
}
} Patrick L. Hartling | Research Assistant, VRAC
} pa...@13... | 2624 Howe Hall -- (515)294-49
*** 16
} http://www.137.org/patrick/ | http://www.vrac.iastate.edu/
}
} _______________________________________________
} Openjgraph-development mailing list
} Ope...@li...
} http://lists.sourceforge.net/lists/listinfo/openjgraph-development
Patrick L. Hartling | Research Assistant, VRAC
pa...@13... | 2624 Howe Hall -- (515)294-4916
http://www.137.org/patrick/ | http://www.vrac.iastate.edu/
|
|
From: Patrick H. <pa...@13...> - 2001-05-03 15:36:13
|
I am trying to handle the event generated when a VisualVertex object is
clicked on by the user. I have code similar to the following:
public class MyClass extends VisualGraph {
public boolean addVertex (Vertex v) {
try {
add(v);
VisualVertex vis_vertex = getVisaulVertex(v);
vis_vertex.addMouseListener(new MouseListener () { ... });
}
catch (Exception e) {
// Handle exception ...
}
}
}:
My listener never gets called--or at least, the mouseClicked() method
never gets called. Am I misunderstanding how vertex selection events
are generated, or does my graph have to be in a certain state for the
mouse clicks to be received?
-Patrick
Patrick L. Hartling | Research Assistant, VRAC
pa...@13... | 2624 Howe Hall -- (515)294-4916
http://www.137.org/patrick/ | http://www.vrac.iastate.edu/
|
|
From: Patrick H. <pa...@13...> - 2001-05-03 15:31:58
|
I am having a problem trying to override the default text assigned to a
VisualEdge object. My code is roughly like the following:
public class MyClass extends VisualGraph {
public boolean connectNodes (Vertex from, Vertex to) {
try {
Edge edge = getGraph().addEdge(from, to);
VisualEdge vis_edge = getVisualEdge(edge);
vis_edge.setText("My label");
}
catch (Exception e) {
// Handle exception ...
}
}
}:
If I call vis_edge.getText(), it gives me a String containing "My label",
but in the visual graph, the label always displays the from -> to
relationship. What am I doing wrong?
-Patrick
Patrick L. Hartling | Research Assistant, VRAC
pa...@13... | 2624 Howe Hall -- (515)294-4916
http://www.137.org/patrick/ | http://www.vrac.iastate.edu/
|
|
From: Patrick H. <pa...@13...> - 2001-04-30 15:08:07
|
"Jesus M. Salvo Jr." <jm...@ih...> wrote: } The way it works is that GraphPanel implements the MouseListener and } MouseMotionListener interfaces. Thus, you will see the mouseXXX() methods on } the GraphPanel class. These methods simply delegates the actual action } depending on the state ( as in the state pattern on the GoF book ) of the } GraphPanel class. Okay, this is just what I was looking for. I had been focusing too much on GraphScrollPane. I'll get to work on using GraphPanels. Thanks! -Patrick } On Mon, 30 Apr 2001 09:41, Patrick Hartling wrote: } > I am just getting started with OpenJGraph, and I was wondering if it is } > possible to know when a node in a graph is selected. For the project I } > am working on, I would like to be able to select a node in the graph and } > have a JTable be updated based on the selection. Thanks. } > } > -Patrick } > } > } > Patrick L. Hartling | Research Assistant, VRAC } > pa...@13... | 2624 Howe Hall -- (515)294-49 *** 16 } > http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ } > } > _______________________________________________ } > Openjgraph-development mailing list } > Ope...@li... } > http://lists.sourceforge.net/lists/listinfo/openjgraph-development Patrick L. Hartling | Research Assistant, VRAC pa...@13... | 2624 Howe Hall -- (515)294-4916 http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ |
|
From: Jesus M. S. Jr. <jm...@ih...> - 2001-04-30 11:52:45
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The way it works is that GraphPanel implements the MouseListener and MouseMotionListener interfaces. Thus, you will see the mouseXXX() methods on the GraphPanel class. These methods simply delegates the actual action depending on the state ( as in the state pattern on the GoF book ) of the GraphPanel class. The states are Normal, Vertex, and Edge states. These states correspond to the three buttons ( save for the Layout button ) that you see using GraphEditor. These states correspond to the classes GraphPanelNormalState, GraphPanelVertexState, GraphPanelEdgeState ... all of which inherit from GraphPanel abstract class. Finally, these state classes passes on the mouse events to the VisualGraphComponent ( if any ) via the processMouseEvent() and processMouseMotionEvent() methods of the VisualGraphComponent interface. GraphPanel ---( delegates to ) --- > state class ---- ( passes event to ) - ---> VisualGraphComponent HTH, John On Mon, 30 Apr 2001 09:41, Patrick Hartling wrote: > I am just getting started with OpenJGraph, and I was wondering if it is > possible to know when a node in a graph is selected. For the project I > am working on, I would like to be able to select a node in the graph and > have a JTable be updated based on the selection. Thanks. > > -Patrick > > > Patrick L. Hartling | Research Assistant, VRAC > pa...@13... | 2624 Howe Hall -- (515)294-4916 > http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ > > _______________________________________________ > Openjgraph-development mailing list > Ope...@li... > http://lists.sourceforge.net/lists/listinfo/openjgraph-development -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjrtUwUACgkQAvd5SY4qWYyZwQCgub7it55vUgPPZjgPhMJPuaCe OUQAn3W+sIvPS7nYMZsIeeqhVYJDa0r0 =Jgg8 -----END PGP SIGNATURE----- |