Release Notes ySVG Extension Package
ySVG 2.1.0.1 is the latest version of the yFiles SVG extension package.
Technical Requirements
- Graph visualization library yFiles 2.5 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.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









