Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic MindFusion.WPF Pack, 2015.R1 (Read 12552 times)
Forum Admin
YaBB Administrator

Rock and Roll

Posts: 696
Joined: Apr 6th, 2003
MindFusion.WPF Pack, 2015.R1
Jan 14th, 2015 at 2:47pm
Print Post  
MindFusion.WPF Pack 2015.R1 has been released. It adds the following new features:

License keys
There is no separate trial build of the control assemblies anymore. Instead, call MindFusion.Licensing.LicenseManager.AddLicense(key) to disable the component's evaluation mode and stop displaying trial messages. License key strings are listed on the Keys & Downloads page at MindFusion's customer portal. This page already contains the product keys for existing customers with an active subscription.


Support for Xaml templates
  • Template property has been added to the base DiagramNode class and now all node types can be templated. A NodeRenderer element can be added to templates to invoke nodes' standard low-level drawing code before rendering custom template elements.
  • TableNode cells can be templated by setting the Template property of the Cell class for individual cells, or by defining a template for all cells using a default style with {x:Type diag:TableNode+Cell} as a target type.

Improved arrowhead rendering
  • Arrowheads are rendered as a single path when possible and several arrowhead Shape definitions have been changed to implement mitered joints when HeadPen is set to a thick pen.
  • The point where end segments connect to arrowheads can be specified via the LinkSegmentInset property of Shape. Shape definitions from the ArrowHeads class set it to suitable default value. This allows using transparent or semi-transparent brushes without seeing the link line drawn behind arrowheads.

Shape designer control
The ShapeDesigner component implements a vector-drawing canvas where Shape definitions can be created interactively. Call the ImportShape method to open a shape for editing. Call the ExportShape method to create a Shape with specified Id from current content of the designer canvas. ShapeDesigner shows a palette with two kinds of elements: Primitives which when dropped on the canvas add a single curve or line segment, and Templates which when dropped on canvas add a closed path of several graphic primitives.

Tree map layout
Tree maps represent hierarchies by nesting child nodes within their parents, where the areas of leaf nodes are proportional to their Weight values. Unlike other layout algorithms, TreeMapLayout expects hierarchies to be defined via grouping or containment (see AttachTo method and ContainerNode class), and will ignore any links in the diagram. The diagram area covered by the topmost nodes in a hierarchy is specified via the LayoutArea property. By default, the layout tries to keep the ratio of node sides as close as possible to one. However this could make it hard to distinguish separate levels of the hierarchy. To alleviate that, set Squarify to false, and child nodes will be arranged either as a row or a column inside their parent node, alternating directions for each level. The drawback is that when Weight ratios differ greatly or nodes contain many children, some nodes could end up with very narrow rectangles.

Decision flowchart layout
DecisionLayout arranges simple flowcharts consisting of decision boxes with up to three outgoing links per node and activity boxes with a single outgoing link per node. The nodes are arranged in columns and rows, whose distance depends on the HorizontalPadding and VerticalPadding property values. When links share the same row or column, they are placed at a distance specified via LinkPadding. The layout arranges nodes recursively starting from StartNode. If StartNode is not specified, the algorithm selects the root of the deepest branch of the graph's spanning tree as start node.

Export Visio 2013 files
The Visio2013Exporter class can export the content of Diagram and DiagramDocument objects to Visio 2013 VSDX files. In order to use it, add a reference to the MindFusion.Diagramming.Wpf.VisioExport.dll assembly. Similarly to the VDX format exporter, Visio2013Exporter relies on a template file, called Visio2013.vxt, containing some boilerplate Visio XML code. The template must be either located in same folder as the application assemblies, or its path must be specified via the TemplatePath property. At this time the exporter supports shapes from Visio basic stencil.

Visio2013Importer improvements
  • The importer now supports Visio group shapes. Child shapes in groups are no longer lost when importing, and their corresponding diagram nodes are attached to the corresponding group node.
  • Visio NURBS curves are now imported as Bezier-style links.
  • Fix for importing connectors with applied rotation transform.
  • Shapes with a hidden attribute in master definition are now imported as invisible items.
  • The Item argument of ImportItem event handlers is now pre-set to a DiagramItem instance created for the imported Visio shape, letting you avoid parsing some standard data such as Bounds or Text. You can either modify this item's properties, or replace it with a new instance of a different type.
  • Fixed a crash when a shape master does not have a name attribute (this happens with custom stencils).
  • Fixed a crash when theme1.xml is missing from the imported vsdx archive (this happens with files converted from old Visio versions to 2013 format).
  • Fixed a parse exception for some non-English locales.
  • Fixed a bug where one-segment connectors were imported at wrong positions.
  • Added support for gradient brushes.

Other export improvements
  • PdfExporter, SvgExporter and WmfExporter will now render the swimlane grid if PrintOptions.EnableLanes is set.
  • VisioExporter export speed has been improved greatly for large diagrams.

  • Layout algorithms now automatically resize diagram's Bounds if it's not large enough to fit the arranged content. To revert to old behavior and keep fixed Bounds size, set GrowToFit to false.
  • The control raises DrawForeground event to let you render custom graphics on top of the diagram.
  • Set the Brush property of LinkLabel to fill the background of link labels.
  • TabbedDiagramView now activates the first tab after its document is loaded from a file.
  • TextPadding property is now applied by table cells.
  • Multiple-resize of rotated nodes fixed to apply same offsets in nodes' local coordinate system.
  • Anchoring.Keep option is now honored by OrthogonalRouter.
  • ZoomIn, ZoomOut, ZoomToRect, ZoomToFit methods added to DiagramView control.
  • Diagram.XmlOptions properties let you enable or disable style and theme serialization.
  • The magnifier tool now shows swimlanes and grid points.
  • The ChangeUnit method sets a new MeasureUnit and scales the coordinates of diagram items to keep them the same size.
    the SetSelfLoopShape event is raised when a link becomes a self-loop, giving you a chance to set a custom shape for the link.
  • LinkLabels are now copied by DiagramLink copy constructor and clipboard methods.
  • Fixed LinkLabel positioning along Bezier links.
  • NodeStyleSelector property of VirtualizingDiagram lets you dynamically apply styles based on node's data.
  • Changing Diagram's ZoomFactor now updates MindFusion.UI.WpfZoomControl slider automatically.
  • Fix for wrong scale when printing diagrams with MeasureUnit different from WpfPoint.

Dependency properties
The following properties have been converted to dependency properties:
  • CellFrameStyle, Shape, and CaptionHeight properties of TableNode.
  • CaptionHeight and Shape properties of ContainerNode and TreeViewNode.
  • MeasureUnit property of Diagram class.
  • Arrowhead shape and size properties of DiagramLink class.
  • Default-value properties of Diagram class.

API changes
  • For consistence with MindFusion libraries for other platforms, BackBrush in default diagram style has been changed to white brush.
  • Type of LinkLabel.Margin property changed from double to Thickness.
  • ZoomControl can be now used with other MindFusion components and has been moved to MindFusion.Common.Wpf assembly in MindFusion.UI.Wpf namespace.
  • The SelectionMoved event has been renamed to SelectionModified, and is also raised if nodes are resized when AllowMultipleResize is enabled. Event handlers now receive SelectionEventArgs parameter instead of EventArgs.
  • The SelectionMoving event has been renamed to SelectionModifying, and is also raised if nodes are resized when AllowMultipleResize is enabled. Event handlers now receive SelectionValidationEventArgs parameter instead of ValidationEventArgs.
« Last Edit: Jan 14th, 2015 at 7:04pm by Forum Admin »  
Back to top
IP Logged
Forum Admin
YaBB Administrator

Rock and Roll

Posts: 696
Joined: Apr 6th, 2003
Re: MindFusion Pack for WPF 2015.R1
Reply #1 - Jan 14th, 2015 at 2:49pm
Print Post  

MindFusion.Spreadsheet for WPF has been initially added to MindFusion Pack for WPF.


Real-time Chart Library
A brand new library has been added to the MindFusion.Charting for WPF component - a real time chart. The new control is specially optimized to render fast large amounts of data in real time. Its major feature is the ability to handle a lot of points without loading the machine it runs on. The library also offers various customization options for the chart - scatters, multiple legends, multiple Y and Y2 axes, custom labels, tooltips, grid. You can read more about the component in the "Real Time Chart" section in the "Programming Interface Overview" topic. We have added samples, tutorial and detailed documentation for the component in the MindFusion.Charting for WPF installation.

  • ShowCrossHair renders a cross hair that will trace the mouse position over the plot area.
  • Curve property, which when enabled draws a line as a canonical spline.

3D Charts
  • All 3D charts support unlimited number of series.
  • New property Lights holds a collection of Light objects instead of the LightType property.
  • Detailed hit testing, which returns a ChartHitTestResult3D that contains the clicked 3D point, the normalized 3D point, a collection of chart elements (if found), and the nearest peak (in surface charts).
  • AllowMeshSelection property, which when enabled allows selection of mesh objects with a mouse click. The MeshSelectionBrush sets the brush for the selection.
  • Behavior3D property, which lets you choose how the chart responds to mouse interactions.
  • Improved performance for all chart types.

Surface Charts
  • SurfaceType property, which sets whether scatters or surface is drawn.
  • SurfaceSeries.GroundLevelMargin property, which sets the GroundLevel-offset.
  • Each Series3D can be clipped in a given range with the ClipMinimum and ClipMaximum properties.
  • TextureType property sets the texture of the chart - Brush or ColorMap.
  • New ColorMapList property, which sets a Color map with arbitrary colors and offsets.
  • CloseModelFigure property, which closes the sides of the model if enabled.


Improved data grid
The cells and headers in the data grid can now be customized through a set of new properties: CellBorderBrush, CellBorderThickness, HeaderBackground, HeaderBorderBrush, HeaderBorderThickness, HeaderFontSize, HeaderForeground, and HeaderMargin. The new ColumnCreating event can be used to replace a grid column with a custom one.

New Holiday Providers
Five new holiday providers have been added to the MindFusion.HolidayProviders.dll assembly, namely AustraliaHolidayProvider, FranceHolidayProvider, GermanyHolidayProvider, RussiaHolidayProvider, and UKHolidayProvider.

Improved Timetable view
The WorkTimeStartHour and WorkTimeEndHour properties have been renamed to WorkTimeStart and WorkTimeEnd respectively and are now of type TimeSpan to allow more flexible work time intervals. In addition, the new WorkTimeStarts and WorkTimeEnds properties can be used to specify different work time intervals for the different days in the view. The new ColumnHeaderTemplate property can be used to customize the column headers by using a DataTemplate object.

Improved WeekRange view
The Week Range view can now display week numbers, similarly to the Single Month view. The week numbers can be enabled through the WeekHeaderPosition property and can be customized through the RotateWeekHeaderTexts, WeekHeaderFormat, WeekHeaderStyle, and WeekNumbersHeaderWidth properties.

  • The row headers in the Resource view can be customized through the new RowHeaderTemplate property.
  • New resource and item hit-testing methods: GetItemAt and GetResourceAt.
  • The modifier key to clone items interactively can now be specified through the ItemCloneKey property.
  • New ItemStartModifying event.
  • Two new samples - CustomMonthCalendar and CustomTimetableGrid.


Zoom control
The ZoomControl class lets user change interactively the current zoom level and scroll position of a MapView. To set it up, add a ZoomControl to the page, place it anywhere over a MapView, and set the control's Target property to that view. Set the ZoomStep and ScrollStep properties to specify the amount added to view's zoom level or scroll position by ZoomControl's buttons. You can customize the control's appearance by setting properties such as Fill, CornerRadius and TickPosition.

  • The new Behavior property lets users select multiple map elements interactively.


Improved charts
Several new properties have been added to the LineChart class to imporive the customization for the plot, grid, legend and axes. The axes settings can be specified through the new XAxisSettings and YAxisSettings properties.

The AxesChart class exposes four new properties, which can be used to specify the intervals displayed by the chart axes. The new properties are XMinValue, XMaxValue, YMinValue, and YMaxValue.

  • Report items can be searched by name through the new FindItem method.

The pack is available for download here:

Back to top
IP Logged
Page Index Toggle Pages: 1
Send TopicPrint