{"id":134,"date":"2013-04-03T11:51:14","date_gmt":"2013-04-03T11:51:14","guid":{"rendered":"http:\/\/mindfusion.eu\/blog\/?p=134"},"modified":"2021-01-08T15:10:28","modified_gmt":"2021-01-08T15:10:28","slug":"diagramming-for-java-4-0-1","status":"publish","type":"post","link":"https:\/\/mindfusion.dev\/blog\/diagramming-for-java-4-0-1\/","title":{"rendered":"Diagramming for Java Swing 4.0.1"},"content":{"rendered":"<p>MindFusion has released a new version of its Diagramming component for Java Swing with various new appearance and layout features. Here are the details:<\/p>\n<p><strong>Preserve order in tree layout<\/strong><\/p>\n<p>The new <a href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?M_com_mindfusion_diagramming_TreeLayout_setBalance_1_Int32.htm\">Balance<\/a> property can be set to <a href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?F_com_mindfusion_diagramming_TreeLayoutBalance_Preserve.htm\">Preserve<\/a> to keep the original geometric order of child nodes when arranging them under their parent. This can be used to arrange tree branches in a specific order by first placing them in increasing horizontal or vertical positions.<\/p>\n<div id=\"attachment_138\" style=\"width: 518px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/mindfusion.dev\/blog\/wp-content\/uploads\/2013\/04\/tree_layout_java.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-138\" class=\"size-full wp-image-138\" src=\"http:\/\/mindfusion.dev\/blog\/wp-content\/uploads\/2013\/04\/tree_layout_java.png\" alt=\"The tree layout algorithm\" width=\"508\" height=\"321\" srcset=\"https:\/\/mindfusion.dev\/blog\/wp-content\/uploads\/2013\/04\/tree_layout_java.png 508w, https:\/\/mindfusion.dev\/blog\/wp-content\/uploads\/2013\/04\/tree_layout_java-300x189.png 300w\" sizes=\"auto, (max-width: 508px) 100vw, 508px\" \/><\/a><p id=\"caption-attachment-138\" class=\"wp-caption-text\">The tree layout algorithm<\/p><\/div>\n<p><strong>Undirected Path Finding<\/strong><\/p>\n<p><a href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?T_com_mindfusion_diagramming_PathFinder.htm\">PathFinder<\/a> supports undirected mode. Its methods have been changed from static to instance, and its constructor takes an ignoreDirection parameter. If ignoreDirection is enabled, the underlying graph is treated as undirected and link direction is not considered when looking for paths.<\/p>\n<div id=\"attachment_137\" style=\"width: 518px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/mindfusion.dev\/blog\/wp-content\/uploads\/2013\/04\/path_finding_java.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-137\" class=\"size-full wp-image-137\" src=\"http:\/\/mindfusion.dev\/blog\/wp-content\/uploads\/2013\/04\/path_finding_java.png\" alt=\"Detecting a cycle in a graph.\" width=\"508\" height=\"321\" srcset=\"https:\/\/mindfusion.dev\/blog\/wp-content\/uploads\/2013\/04\/path_finding_java.png 508w, https:\/\/mindfusion.dev\/blog\/wp-content\/uploads\/2013\/04\/path_finding_java-300x189.png 300w\" sizes=\"auto, (max-width: 508px) 100vw, 508px\" \/><\/a><p id=\"caption-attachment-137\" class=\"wp-caption-text\">Detecting a cycle in a graph.<\/p><\/div>\n<p><strong>Selection Improvements<\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?M_com_mindfusion_diagramming_DiagramView_setBehavior_1_Int32.htm\">DiagramView.Behavior<\/a> can be set to <a href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?F_com_mindfusion_diagramming_Behavior_SelectOnly.htm\">SelectOnly<\/a> to let users select existing items, but not to modify them or to draw new ones.<\/li>\n<li>The <a href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?M_com_mindfusion_diagramming_Selection_setSetsDirtyFlag_1_Boolean.htm\">SetsDirtyFlag<\/a> property of the <a href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?T_com_mindfusion_diagramming_Selection.htm\">Selection<\/a> class specifies whether the <a href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?O_T_com_mindfusion_diagramming_Diagram_setDirty.htm\">Dirty<\/a> flag should be set when selection changes.<\/li>\n<\/ul>\n<p><strong>Miscellaneous<\/strong><\/p>\n<ul>\n<li>Style classes now contain a <a href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?M_com_mindfusion_diagramming_DiagramItemStyle_setFontUnit_1_Int32.htm\">FontUnit<\/a> property specifying the unit of measure of <a href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?M_com_mindfusion_diagramming_DiagramItemStyle_setFontSize_1_Single.htm\">FontSize<\/a>.<\/li>\n<li>The last row in a <a href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?T_com_mindfusion_diagramming_TableNode.htm\">TableNode<\/a> will now be rendered clipped if it fits only partially inside the node, whereas in previous versions the row would not be rendered at all.<\/li>\n<li>The <a href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?M_com_mindfusion_diagramming_ContainerNode_setAllowAddChildren_1_Boolean.htm\">AllowAddChildren<\/a> and <a href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?M_com_mindfusion_diagramming_ContainerNode_setAllowRemoveChildren_1_Boolean.htm\">AllowRemoveChildren<\/a> properties of <a href=\"http:\/\/www.mindfusion.dev\/onlinehelp\/jdiagram\/index.htm?T_com_mindfusion_diagramming_ContainerNode.htm\">ContainerNode<\/a> specify whether users are allowed to add or remove child nodes to \/ from the container.<\/li>\n<li>and many more.<\/li>\n<\/ul>\n<p>You can learn more about the new JDiagram 4.0.1 at <a href=\"http:\/\/mindfusion.dev\/Forum\/YaBB.pl?num=1364902445\">the news page on MindFusion&#8217;s forum.<\/a> You can download the trial version of the control from the link below:<\/p>\n<p align=\"center\"><a href=\"https:\/\/www.mindfusion.dev\/JDiagramTrial.zip\">Download MindFusion.Diagramming for Java Swing 4.0.1<\/a><\/p>\n<p><strong>Technical support <\/strong><\/p>\n<p>Your questions about the diagramming library or any other of our components are welcomed by our support team. You can write 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 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><\/p>\n<p><em>About Diagramming for Java Swing:<\/em> JDiagram provides your Java Swing 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 80 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:\/\/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>JDiagram is royalty free, there are no distribution fees. Licenses depend on the count of developers using the tool &#8211; check <a href=\"http:\/\/mindfusion.dev\/buy-jdiagram.html\">here<\/a> the prices.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MindFusion has released a new version of its Diagramming component for Java Swing with various new appearance and layout features. Here are the details: Preserve order in tree layout The new Balance property can be set to Preserve to keep &hellip; <a href=\"https:\/\/mindfusion.dev\/blog\/diagramming-for-java-4-0-1\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","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":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[2],"tags":[24,35,46,5,57,6,44,45,47,40],"class_list":["post-134","post","type-post","status-publish","format-standard","hentry","category-product-releases","tag-containers","tag-diagramming","tag-font","tag-graph","tag-java-swing","tag-layout","tag-library","tag-path-finding","tag-selection","tag-tree-layout"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3RlKs-2a","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/posts\/134","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=134"}],"version-history":[{"count":8,"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/posts\/134\/revisions"}],"predecessor-version":[{"id":2422,"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/posts\/134\/revisions\/2422"}],"wp:attachment":[{"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/media?parent=134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/categories?post=134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mindfusion.dev\/blog\/wp-json\/wp\/v2\/tags?post=134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}