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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Version 5.4 beta
Aug 23rd, 2010 at 11:04am
Print Post  
We are starting beta tests of Flowchart.NET 5.4. The new features are:

Swimlane layout
SwimlaneLayout can be used to arrange process diagrams in which nodes representing activities are placed in swimlanes representing resources. The index of the resource allocated to an activity should be assigned to the corresponding node's LayoutTraits[SwimlaneLayoutTraits.Lane].

By default, the algorithm works with the diagram's LaneGrid, but its SwimlaneGrid property can be set to any class that implements ISwimlaneGrid. This allows applying the layout to a custom-drawn grid rendered through the DrawBackground event, or one composed of locked background nodes.

Export diagrams to WMF format
WmfExporter creates WMF (Windows MetaFile) images from the content of Diagram objects. In order to use this component, add a reference to the MindFusion.Diagramming.Export.Wmf.dll assembly to your project. To create a WMF file from a diagram, create a WmfExporter instance and call its Export method, passing a Diagram object as parameter.

Other export improvements
~ SvgExporter supports dashed pens.
~ Support for shapes with alternating fill style added to PDF and SVG exporters.
~ Improved quality of curved shapes in SVG.
~ PdfExporter supports bitmaps with Format32bppPArgb pixel format.

Text formatting improvements
~ TextPadding specifies the size of the padding area between the text of nodes and their borders.
~ Speed of the styled text formatting algorithm has been improved.

Miscellaneous
~ Items can be drawn with the right mouse button when RightButtonActions is set to Draw.
~ ControlNodes now check the SelectionOnTop property before bringing hosted controls to front.
~ Fixed a ShowArrowHeads bug in DiagramView3D.
~ The order of child nodes in TreeLayout can be reversed by setting Balance to Reversed.
~ LinkType adds supports for Bezier links to SpringLayout.

If anyone is interested in trying the beta, please download this archive, which includes updated assemblies and help file:
https://mindfusion.eu/_beta/diagramming.winforms.5.4.zip
  
Back to top
 
IP Logged
 
tom_w
Junior Member
**
Offline


Swimlanes made our dreams
come true :-)

Posts: 79
Joined: Oct 20th, 2008
Re: Version 5.4 beta
Reply #1 - Sep 1st, 2010 at 3:16pm
Print Post  
Hi there

Could you give us a bit more info on how the swimlane diagram and existing lane diagrams compare?

You may recall that you gave us a lot of help with the lane diagram in the past, but we have never really got it to behave exactly as we want, I'm wondering if the swimlane is more what we need.

Thanks

Tom
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Version 5.4 beta
Reply #2 - Sep 1st, 2010 at 5:02pm
Print Post  
Hi,

Sorry, I can't recall what kind of layout we did for you...

SwimlaneLayout is designed to arrange process diagrams similar to the one shown in the "lane diagram" step of the demo. I.e. where task nodes are assigned to swimlanes, where the lanes could represent a person or company department responsible for the task.

Running it on that sample graph creates the following layout, almost the same as the manually-arranged one from the demo.


Stoyan
  
Back to top
 
IP Logged
 
srinivas
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 41
Joined: Jul 27th, 2010
Re: Version 5.4 beta
Reply #3 - Sep 3rd, 2010 at 2:26am
Print Post  
Does it also support BPMN Pools?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Version 5.4 beta
Reply #4 - Sep 3rd, 2010 at 5:27am
Print Post  
I suppose it will if you implement ISwimlaneGrid to add or resize pools and pool lanes. You might have to map the indices you assign to nodes to the pools and their contained lanes from the BPMN diagram. Also the algorithm assumes there is no empty space left between lanes while placing nodes, so you will need some extra code to pull apart the pools, if required.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Version 5.4 beta
Reply #5 - Sep 6th, 2010 at 9:55am
Print Post  
We have uploaded a new build of the beta version that fixes a couple of issues in SwimlaneLayout:

- empty lanes added incorrect vertical offset to nodes
- nodes from unconnected subgraphs overlapped

https://mindfusion.eu/_beta/diagramming.winforms.5.4.zip

We are releasing v5.4 on Friday if we don't find further issues by then.
  
Back to top
 
IP Logged
 
tom_w
Junior Member
**
Offline


Swimlanes made our dreams
come true :-)

Posts: 79
Joined: Oct 20th, 2008
Re: Version 5.4 beta
Reply #6 - Sep 20th, 2010 at 11:05am
Print Post  
Thanks to your guys for all the help on this one, it is exactly what we needed.   Cheesy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint