Interface PersistentLayout<V,E>
- All Known Implementing Classes:
PersistentLayoutImpl
interface for PersistentLayout
Also holds a nested class Point to serialize the
Vertex locations
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
a serializable class to save locations -
Method Summary
Methods inherited from interface com.google.common.base.Function
apply, equals
Methods inherited from interface edu.uci.ics.jung.algorithms.layout.Layout
getGraph, getSize, initialize, isLocked, lock, reset, setGraph, setInitializer, setLocation, setSize
-
Method Details
-
persist
- Throws:
IOException
-
restore
- Throws:
IOException
ClassNotFoundException
-
lock
void lock(boolean state)
-