{"id":1684,"date":"2016-10-19T12:54:57","date_gmt":"2016-10-19T12:54:57","guid":{"rendered":"http:\/\/mindfusion.eu\/blog\/?p=1684"},"modified":"2021-01-21T14:00:58","modified_gmt":"2021-01-21T14:00:58","slug":"diagramming-for-windows-forms-v6-4-2","status":"publish","type":"post","link":"https:\/\/mindfusion.dev\/blog\/diagramming-for-windows-forms-v6-4-2\/","title":{"rendered":"Diagramming for Windows Forms, V6.4.2"},"content":{"rendered":"<p>We have released version 6.4.2 of FlowChart.NET. It contains several customer-requested features and improvements:<\/p>\n<p><strong>Fluent API<\/strong><br \/>\nExtension methods in MindFusion.Diagramming.Fluent and MindFusion.Diagramming.Layout.Fluent namespaces add support for <a href=\"https:\/\/en.wikipedia.org\/wiki\/Fluent_interface\">fluent programming style<\/a>:<\/p>\n<pre>using MindFusion.Diagramming.Fluent;\nusing MindFusion.Diagramming.Layout.Fluent;\n\/\/...\n\ndiagram.Factory\n\t.CreateShapeNode(10, 10, 20, 20)\n\t\t.Brush(Color.LightGray)\n\t\t.Font(\"Arial\", 12)\n\t\t.EnableStyledText(true)\n\t\t.Text(\"Task <i>1<\/i>\")\n\t\t.ToolTip(\"This is the task\");\n\nnew TreeLayout()\n\t.LevelDistance(20)\n\t.NodeDistance(20)\n\t.LinkStyle(TreeLayoutLinkType.Cascading3)\n\t.Arrange(diagram); \n\n<\/pre>\n<p><strong>DiagramLink Improvements<\/strong><\/p>\n<ul>\n<li>The component no longer keeps a separate segmentCount field, removing a common source of errors. The SegmentCount property now calculates its value from ControlPoints elements. The UpdateFromPoints(updateGroups, updateSegments) overload has been removed too.<\/li>\n<li>SegmentCount setter no longer refuses changing number of segments if auto-routing is enabled or the link is a self-loop.<\/li>\n<li>The new Spline element of LinkShape enumeration draws links as interpolating splines that pass through all of their control points:<\/li>\n<\/ul>\n<div id=\"attachment_1686\" style=\"width: 396px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1686\" class=\"size-full wp-image-1686\" src=\"http:\/\/mindfusion.dev\/blog\/wp-content\/uploads\/2016\/10\/spline_links.png\" alt=\"WinForms Diagram Control: Spline Links\" width=\"386\" height=\"459\" srcset=\"https:\/\/mindfusion.dev\/blog\/wp-content\/uploads\/2016\/10\/spline_links.png 386w, https:\/\/mindfusion.dev\/blog\/wp-content\/uploads\/2016\/10\/spline_links-252x300.png 252w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><p id=\"caption-attachment-1686\" class=\"wp-caption-text\">WinForms Diagram Control: Spline Links<\/p><\/div>\n<p><strong>Miscellaneous<\/strong><\/p>\n<ul>\n<li>The ModifierKeyAction.ExtendSelection mode selects items within the lasso without deselecting old ones.<\/li>\n<li>The Visio Stencils import API provides access to BeginArrow and EndArrow values.<\/li>\n<li>The Visio Stencils import API provides access to Connection elements defined for a shape.<\/li>\n<li>It is now enough to set EnableStyledText to enable styled-text mode without having to also enable PolygonalTextLayout.<\/li>\n<li>Fixed bug where ItemAdded event wasn&#8217;t raised for interactively drawn items.<\/li>\n<li>Miscellaneous UI control assemblies (NodeListView, LayerListView, Ruler, etc) have been merged into a single MindFusion.Diagramming.WinForms.Controls.dll.<\/li>\n<\/ul>\n<p>A direct link to download the trial version follows:<\/p>\n<p align=\"center\"><a href=\"https:\/\/www.mindfusion.dev\/FCNetDemo.zip\">Download MindFusion WinForms Diagram Component, V 6.4.2<\/a><\/p>\n<p>Updated assemblies are also available as <a href=\"https:\/\/www.nuget.org\/packages\/MindFusion.Diagramming\/\">MindFusion.Diagramming NuGet package.<\/a><\/p>\n<p><strong><em>About MindFusion.Diagramming for WinForms:<\/em><\/strong> A programming component that provides any WinForms application with a full set of features for creating and customizing all types of diagrams, flowcharts, schemes, hierarchies, trees, graphs etc. The control provides numerous ways to save and load a diagram, six auxiliary controls and more than 12 automatic graph layout algorithms. Diagram elements include scrollable tables, container nodes, multi-segment arrows, custom diagram item types and many more. Further details <a href=\"http:\/\/mindfusion.dev\/features-net.html\">here<\/a>.<\/p>\n<p>Diagramming for WinForms is a royalty-free component, clients get 12 month upgrade subscription when buying a license. The source code is also available for purchase. Visit <a href=\"http:\/\/mindfusion.dev\/buy-flowchart-net.html\">the buy page<\/a> for a list with the current license prices.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have released version 6.4.2 of FlowChart.NET. It contains several customer-requested features and improvements: Fluent API Extension methods in MindFusion.Diagramming.Fluent and MindFusion.Diagramming.Layout.Fluent namespaces add support for fluent programming style: using MindFusion.Diagramming.Fluent; using MindFusion.Diagramming.Layout.Fluent; \/\/&#8230; diagram.Factory .CreateShapeNode(10, 10, 20, 20) .Brush(Color.LightGray) &hellip; <a href=\"https:\/\/mindfusion.dev\/blog\/diagramming-for-windows-forms-v6-4-2\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[95,2],"tags":[430,429,431],"class_list":["post-1684","post","type-post","status-publish","format-standard","hentry","category-diagramming-2","category-product-releases","tag-flowchart-component","tag-fluent-api-diagram-control","tag-winforms-diagram-control"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3RlKs-ra","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/posts\/1684","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/comments?post=1684"}],"version-history":[{"count":5,"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/posts\/1684\/revisions"}],"predecessor-version":[{"id":2604,"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/posts\/1684\/revisions\/2604"}],"wp:attachment":[{"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/media?parent=1684"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/categories?post=1684"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/tags?post=1684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}