|
From: Jesus M. S. Jr. <jm...@ih...> - 2001-01-31 12:26:29
|
I have added support for serialization of VisualGraphs into CVS, not yet part of a release. In an earlier release, I have stated you can now serialize a Graph ( provided that the Objects encapsulated by Vertices are serializable as well ). The only exception at that time was VisualGraph, because GeneralPath is not serializable, as well as most classes in java.awt.geom. I have done a work-around and the result is a class named SerializablePathIterator in package salvo.jesus.graph.java.awt.geom. AbstractVisualGraph has also been modified to make use of the above to serialize its GeneralPath. I have done some testing of my one and works well save for some position of the text in VisualVertices after it was de-serialized. Can anyone testing this out let me know their results? Thanks, John -- Homepage: http://homepages.tig.com.au/~jmsalvo/ |