{"id":1691,"date":"2016-11-02T11:27:22","date_gmt":"2016-11-02T11:27:22","guid":{"rendered":"http:\/\/mindfusion.eu\/blog\/?p=1691"},"modified":"2021-01-21T14:01:34","modified_gmt":"2021-01-21T14:01:34","slug":"diagram-library-for-java-swing-v4-3","status":"publish","type":"post","link":"https:\/\/mindfusion.dev\/blog\/diagram-library-for-java-swing-v4-3\/","title":{"rendered":"Diagram Library for Java Swing, V4.3"},"content":{"rendered":"<p>We have released the new version of the <a href=\"http:\/\/mindfusion.dev\/jdiagram.html\">Java Diagram library<\/a>. Here is a brief summary of the new features:<\/p>\n<p><strong>Fluent API<\/strong><\/p>\n<p>Builder classes in <a title=\"\" href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?N_com_mindfusion_diagramming_builders.htm\">com.mindfusion.diagramming.builders<\/a> package add support for fluent programming style. Static <a title=\"\" href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?M_com_mindfusion_diagramming_ShapeNode_with_0.htm\">with<\/a> and instance <a title=\"\" href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?M_com_mindfusion_diagramming_ShapeNode_init_0.htm\">init<\/a> methods in <a title=\"\" href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?T_com_mindfusion_diagramming_DiagramItem.htm\">DiagramItem<\/a>, <a title=\"\" href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?T_com_mindfusion_diagramming_DiagramItemStyle.htm\">DiagramItemStyle<\/a> and <a title=\"\" href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?T_com_mindfusion_diagramming_AbstractLayout.htm\">Layout<\/a> -derived classes return a builder instance that can be used to set up respective new or existing objects.<\/p>\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 <a title=\"\" href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?M_com_mindfusion_diagramming_DiagramLink_getSegmentCount_0.htm\">SegmentCount<\/a> property now calculates its value from <a title=\"\" href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?M_com_mindfusion_diagramming_DiagramLink_getControlPoints_0.htm\">ControlPoints<\/a> elements. The <a title=\"\" href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?M_com_mindfusion_diagramming_DiagramLink_updateFromPoints_0.htm\">updateFromPoints<\/a>(updateGroups, updateSegments) overload has been removed too.<\/li>\n<li><a title=\"\" href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?M_com_mindfusion_diagramming_DiagramLink_setSegmentCount_1_Int32.htm\">SegmentCount<\/a> 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 <b>Spline<\/b> element of <a title=\"\" href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?T_com_mindfusion_diagramming_LinkShape_0.htm\">LinkShape<\/a> enumeration draws links as interpolating splines that pass through all of their control points:<\/li>\n<\/ul>\n<div id=\"attachment_1695\" style=\"width: 396px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1695\" class=\"size-full wp-image-1695\" src=\"http:\/\/mindfusion.dev\/blog\/wp-content\/uploads\/2016\/11\/spline_links.png\" alt=\"Java Diagram Library: Spline Links\" width=\"386\" height=\"459\" srcset=\"https:\/\/mindfusion.dev\/blog\/wp-content\/uploads\/2016\/11\/spline_links.png 386w, https:\/\/mindfusion.dev\/blog\/wp-content\/uploads\/2016\/11\/spline_links-252x300.png 252w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><p id=\"caption-attachment-1695\" class=\"wp-caption-text\">Java Diagram Library: Spline Links<\/p><\/div>\n<p><strong>Enum types<\/strong><\/p>\n<p>Old-style enumeration classes with static finals have been replaced by enum types, improving type checking and auto-completion support. This change will not affect your code if only passing enum members to methods from the API. If storing them in fields on the other hand, you must change the field type from int to respective enum type.<\/p>\n<p><strong>Several bug fixes<\/strong><br \/>\nWe have fixed a setLicenseKey problem and a bug with the SvgExporter.<\/p>\n<p>You can find details about the new release <a href=\"http:\/\/mindfusion.dev\/Forum\/YaBB.pl?num=1478079504\">at the official announcement page here.<\/a><\/p>\n<p>The trial version is available for download from the following link:<\/p>\n<p align=\"center\"><a href=\"https:\/\/www.mindfusion.dev\/JDiagramTrial.zip\">Download MindFusion.Diagramming for Java Swing, V4.3 Trial Version<\/a><\/p>\n<p><strong>Technical support<\/strong><br \/>\nMindFusion puts special effort in providing high quality technical support to all its current and future clients. You can post your questions about Diagramming for Java at <a href=\"http:\/\/mindfusion.dev\/Forum\/YaBB.pl?board=jdiag_disc\">the forum<\/a>, <a href=\"http:\/\/www.mindfusion.dev\/HelpDesk\/index.php\">help desk<\/a> or at <a title=\"Write Us\" href=\"mailto:support@mindfusion.dev?subject=contact information from web site&amp;body=Please, remember to add mindfusion.dev to your email whitelist. We usually reply to all contact inquiries within 3 to 4 hours. In case you have not received an answer in 24 hours, the email most likely has been filtered by an anti-spam software running at your mail server. Thank you for the understanding!\" target=\"_parent\" rel=\"noopener noreferrer\">support@mindfusion.dev.<\/a> All support inquiries are usually answered within hours of being received.<\/p>\n<p><em>About Diagramming for Java Swing:<\/em> MindFusion.Diagramming for Java Swing provides your Java application with all necessary functionality to create and customize a diagram. The library is very easy to integrate and program. There are numerous utility methods, rich event set, more than 100 predefined shapes. The tool supports a variety of ways to render or export the diagram, advanced node types like TreeView nodes, hierarchical nodes, tables, container nodes and many more. There are 15 automatic layouts, various input \/ output options and fully customizable appearance. A detailed list with JDiagram&#8217;s features is uploaded <a href=\"http:\/\/www.mindfusion.dev\/features-jdiagram.html\">here.<\/a> You can check <a href=\"http:\/\/mindfusion.dev\/demos\/jdiagram\/start.htm\">the online demo<\/a> to see some of the functionality implemented.<\/p>\n<p>Diagramming for Java Swing is royalty free, there are no distribution fees. Licenses depend on the count of developers using the tool &#8211; check <a href=\"http:\/\/www.mindfusion.dev\/buy-jdiagram.html\">here<\/a> the prices.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have released the new version of the Java Diagram library. Here is a brief summary of the new features: Fluent API Builder classes in com.mindfusion.diagramming.builders package add support for fluent programming style. Static with and instance init methods in &hellip; <a href=\"https:\/\/mindfusion.dev\/blog\/diagram-library-for-java-swing-v4-3\/\">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":[432,433,434],"class_list":["post-1691","post","type-post","status-publish","format-standard","hentry","category-diagramming-2","category-product-releases","tag-diagram-library","tag-java-diagram-library","tag-java-swing-flowchart-library"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3RlKs-rh","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/posts\/1691","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=1691"}],"version-history":[{"count":3,"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/posts\/1691\/revisions"}],"predecessor-version":[{"id":2605,"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/posts\/1691\/revisions\/2605"}],"wp:attachment":[{"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/media?parent=1691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/categories?post=1691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/tags?post=1691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}