xStream.useAttributeFor(Point2D.Double.class, "x");
xStream.useAttributeFor(Point2D.Double.class, "y");
xStream.alias("Point2D.Double", Point2D.Double.class);
xStream.addImmutableType(ArrowheadChoiceList.class);
xStream.addImmutableType(LineStyleChoiceList.class);
<BUG>xStream.addImmutableType(BentStyle.class);
</BUG>
List<IDiagramPlugin> diagramPlugins = this.pluginRegistry.getDiagramPlugins();
for (IDiagramPlugin aPlugin : diagramPlugins) {
Class<? extends IGraph> graphClass = aPlugin.getGraphClass();

xStream.useAttributeFor(Point2D.Double.class, "x");
xStream.useAttributeFor(Point2D.Double.class, "y");
xStream.alias("Point2D.Double", Point2D.Double.class);
xStream.addImmutableType(ArrowheadChoiceList.class);
xStream.addImmutableType(LineStyleChoiceList.class);
xStream.addImmutableType(BentStyleChoiceList.class);
List<IDiagramPlugin> diagramPlugins = this.pluginRegistry.getDiagramPlugins();
for (IDiagramPlugin aPlugin : diagramPlugins) {
Class<? extends IGraph> graphClass = aPlugin.getGraphClass();
