Versionsinformationen ySVG Erweiterungspaket
ySVG 2.3 ist die aktuelle Version des yFiles SVG Erweiterungspaketes.
Technische Voraussetzungen
- Graphvisualisierungsbibliothek yFiles for Java 2.8-er Versionsserie und Oracle J2SDK 1.4 oder höher zur Software Entwicklung.
- Ein Browser für die HTML Dokumentation.
ySVG 2.3 - Änderungen zu Version 2.2.0.1 (englisch)
Features Added
- Added support for ignoring selection state when exporting to SVG using modules SVGOutput and SVGZOutput.
- SVGNodeRealizer: Added support for new yFiles for Java 2.8 rendering hint KEY_SELECTION_PAINTING.
- SVGDOMEnhancer: Added new label detection strategy LABEL_DETECTION_BY_RECONFIGURING that works by replacing label configurations.
Improvements
-
SVGModel: SVG 1.2 specific elements in SVG documents
declared to be conforming to the SVG 1.0 or SVG 1.1 standards are
ignored and no longer result in a
org.apache.batik.dom.util.SAXIOException.
Bugfixes
- SVGModel: Reading a SVG definition from an URL now tries to determine the appropriate character encoding from the document identified by the URL instead of using the platform default encoding.
ySVG 2.2.0.1 - Änderungen zu Version 2.2 (englisch)
Bugfixes
-
Class SVGDOMEnhancer:
- Fixed "rendering" of nodes and edges when using a label detection strategy other than LABEL_DETECTION_NONE.
- Fixed problems with custom label models (i.e. NodeLabel.CUSTOM_LABEL_MODEL) and label detection strategy LABEL_DETECTION_BY_WRAPPING.
- Removed obsolete dependencies to GraphML extension package in the demo build script build.xml.
ySVG 2.2 - Änderungen zu Version 2.1.0.1 (englisch)
Improvements
- ySVG GraphML support no longer depends on the yFiles for Java GraphML extension package but uses the GraphML support that comes with yFiles for Java 2.7.
-
Class SVGModel:
- Improved rendering for printing in landscape orientation.
- Improved robustness regarding invalid SVG documents.
-
Class SVGDOMEnhancer:
- Added new label detection strategy LABEL_DETECTION_NONE to allow to turn off label detection.
- Improved robustness of cleanup code in label detection strategies with regard to exceptions.
- Upgraded from Batik 1.6 to Batik 1.7. See the SVG Batik page for a list of improvements.
ySVG 2.1.0.1 - Änderungen zu Version 2.1 (englisch)
Bugfixes
-
Class SVGModel
- added synchronization to image cache to prevent infinite loops in multithreaded environments
- estimating image sizes for image caches no longer causes integer overflows
ySVG 2.1 - Änderungen zu Version 2.0 (englisch)
Features Added
-
Class SVGDOMEnhancer
- added new default label detection strategy LABEL_DETECTION_BY_WRAPPING
-
Class SVGIOHandler
- added public methods getSVGRenderingHintValue and setSVGRenderingHintValue to allow for user preferences when exporting SVG enhanced content
-
added property
useCSSto provide a means to switch between SVG element attributes compacted into a single CSS style attribute and default XML attribute listings
-
Class SVGModel
- substantial rendering performance improvement; see setImageCacheEnabled, setImageCacheSize, setMaximumImageSize, setMinimumRelativeImageSize for related documentation
- enhanced the internal SVG DOM generating mechanism to accept slightly invalid SVG definitions (e.g. unbound namespaces)
- added public methods deserializeSVGContent and serializeSVGContent to allow for custom programmatic serialization/deserialization of SVG contents
-
Class SVGNodeRealizer
- YGF serialization now includes SVG content to allow for deserialization without original/external SVG resource file.
- Class SVGNodeRealizerSerializer provides GraphML serialization support for SVGNodeRealizers
Demos
-
added several icons derived from the
Nuvola 1.0
SVG icon set to
src/demo/yext/svg/resources/svg - source code demo RenderingPerformanceDemo has been added
- source code demo GraphMLDemo has been added
- source code demo SVGNodeRealizerDemo has been added
- source code demo SVGNodeDemo has been renamed to SimpleSVGNodeRealizerDemo
Incompatible API Changes
-
Class SVGDOMEnhancer: changed visibility of
public field
labelDetectionStrategytoprivate









