Release Notes ySVG Extension Package
ySVG 2.2.0.1 is the latest version of the yFiles SVG extension package.
Technical Requirements
- Graph visualization library yFiles for Java 2.7 and Sun Microsystems J2SDK 1.4 or higher is needed for software development.
- In order to browse the documentation use Microsoft Internet Explorer 6.0 or higher or Mozilla Firefox 1.5 or higher.
ySVG 2.2.0.1 - Changes Since 2.2
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 - Changes Since 2.1.0.1
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 - Changes Since 2.1
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 - Changes Since 2.0
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









