Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Version 4.0.4 beta (Read 2130 times)
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Version 4.0.4 beta
Jan 30th, 2014 at 11:20am
Print Post  
JDiagram version 4.0.4 adds the following new features:

Import Visio 2013 files
The VisioImporter class can import .vsdx files created by Visio 2013. In order to use it, you must import the com.mindfusion.diagramming.importers namespace. Various overloads of the import method can be used to import the file into a DiagramDocument whose pages correspond to the Visio drawing pages, or into a single Diagram whose content is merged from all imported pages. At this time VisioImporter supports the basic flowchart and data flow Visio stencils. For each node shape from the .vsdx file, the importer creates a ShapeNode object whose Shape, Text, Brush and Pen properties are set to values corresponding to the imported Visio shape. For each connector shape, the importer creates a DiagramLink object whose Origin and Destination are set to the corresponding imported nodes, and whose ControlPoints reflect the geometry of the connector.

Import OpenOffice Draw files
The DrawImporter class can import .odg files, created by the OpenOffice Draw vector graphics editor. In order to use it, you must import the com.mindfusion.diagramming.importers namespace. DrawImporter supports shapes from the General and Flowchart shape palettes in Draw. Various overloads of the Import method can be used to import the OpenOffice drawing into a DiagramDocument whose pages correspond to the Draw pages, or into a single Diagram whose content is merged from all imported pages. For each node shape from the .odg file, the importer creates a ShapeNode object whose Shape, Text, Brush and Pen properties are set to values corresponding to the imported OpenOffice shape. For each connector shape, the importer creates a DiagramLink object whose Origin and Destination are set to the corresponding imported nodes, and whose ControlPoints reflect the geometry of the connector.

Miscellaneous
~ Links can now snap to nodes from a distance when their AutoSnapToNode property is enabled. The maximum snap distance is specified via Diagram.AutoSnapDistance property. AutoSnapToNode supersedes the old SnapToNodeBorder property, which worked only for nodes under mouse pointer.
~ Set the RoundedLinks and RoundedLinksRadius property to draw arcs at the joints of Cascading and Polyline links' segments.
~ Selection.IncludeItemsIfIntersect property specifies if lasso-selection should select items that intersect the selection rectangle, or otherwise are entirely inside it.
~ Several new shapes added for better compatibility with Visio 2013 basic stencil: RightTriangle, Decagon, Trapezoid, Star4Pointed, Star5Pointed, Star6Pointed, Star7Pointed, Star16Pointed, Star24Pointed, Star32Pointed, Donut, Plaque.
~ Permissions attribute added to JAR manifest file to allow loading DiagramApplet under Java 7 update 51.

If anyone is interested in trying the beta version, please download this archive containing the updated jar and help files:
https://mindfusion.eu/_beta/JDiagram404.zip

Any comments, questions and general feedback are welcome.
« Last Edit: Feb 3rd, 2014 at 12:36pm by Stoyo »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint