{"id":4531,"date":"2018-02-15T18:00:21","date_gmt":"2018-02-15T14:00:21","guid":{"rendered":"https:\/\/dhtmlx.com\/blog\/?p=4531"},"modified":"2026-01-30T11:47:17","modified_gmt":"2026-01-30T08:47:17","slug":"meet-major-update-of-dhtmlxdiagram-version-2-0","status":"publish","type":"post","link":"https:\/\/dhtmlx.com\/blog\/meet-major-update-of-dhtmlxdiagram-version-2-0\/","title":{"rendered":"Meet Major Update of dhtmlxDiagram &#8211; Version 2.0 is Here"},"content":{"rendered":"<p>DHTMLX <a href=\"https:\/\/dhtmlx.com\/docs\/products\/dhtmlxDiagram\/\" target=\"_blank\">Diagram library<\/a> makes a big step forward and receives a major update: the version 2.0 is out. Now, when using dhtmlxDiagram, you can build different types of diagrams and graphs! Besides, there are plenty of useful updates and improvements. Let&#8217;s review all of them.<\/p>\n<h5>Build different types of diagrams<\/h5>\n<p>The versions 1.x allow you to build and edit interactive organization charts. Now it&#8217;s time to expand the line of supported diagram types. Starting from the version 2.0, you can create such kind of diagrams like flowcharts, block, tree, decision, activity, network diagrams and so on.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2018\/02\/javascript-flowchart-1.png\" alt=\"javascript flowchart\" width=\"900\" height=\"447\" class=\"aligncenter size-full wp-image-4555\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2018\/02\/javascript-flowchart-1.png 900w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2018\/02\/javascript-flowchart-1-300x149.png 300w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2018\/02\/javascript-flowchart-1-768x381.png 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<div align=\"center\"><em>Flowchart. <a href=\"https:\/\/snippet.dhtmlx.com\/4d4k3o8p\" target=\"_blank\">View the sample<\/a>.<\/em><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2018\/02\/activity-diagram.png\" alt=\"activity diagram\" width=\"591\" height=\"913\" class=\"aligncenter size-full wp-image-4581\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2018\/02\/activity-diagram.png 591w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2018\/02\/activity-diagram-194x300.png 194w\" sizes=\"auto, (max-width: 591px) 100vw, 591px\" \/><\/p>\n<div align=\"center\"><em>Activity diagram. <a href=\"https:\/\/snippet.dhtmlx.com\/a9t2z2dt\" target=\"_blank\">View the sample<\/a>.<\/em><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2018\/02\/vertical-decision-tree-1.png\" alt=\"vertical decision tree\" width=\"900\" height=\"536\" class=\"aligncenter size-full wp-image-4582\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2018\/02\/vertical-decision-tree-1.png 900w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2018\/02\/vertical-decision-tree-1-300x179.png 300w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2018\/02\/vertical-decision-tree-1-768x457.png 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<div align=\"center\"><em>Vertical decision tree diagram. <a href=\"https:\/\/snippet.dhtmlx.com\/t6t8ay80\" target=\"_blank\">View the sample<\/a>.<\/em><\/div>\n<p>For your use, we introduce a great variety of shapes and connectors which will help you to build detailed and expanded flowcharts. <a href=\"https:\/\/docs.dhtmlx.com\/diagram\/shapes\/default_shapes\/\" target=\"_blank\">Check the docs.<\/a><\/p>\n<p>By default, the shapes\/nodes are elegant grey. We decided not to overload the diagrams by choosing specific colors, so that you could paint them the colors you need based on your specific design requirements. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2018\/02\/grey-flowchart-js.png\" alt=\"grey flowchart js\" width=\"433\" height=\"778\" class=\"aligncenter size-full wp-image-4557\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2018\/02\/grey-flowchart-js.png 433w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2018\/02\/grey-flowchart-js-167x300.png 167w\" sizes=\"auto, (max-width: 433px) 100vw, 433px\" \/><\/p>\n<p>We&#8217;ll add the diagram editor soon so you could manage the shapes, colors and structure faster and simpler. The release of dhtmlxDiagram 2.1 is planned on April, 2018.<\/p>\n<h5>Performance and API updates<\/h5>\n<p>Within this update, we&#8217;ve made great improvements to Diagram&#8217;s performance so the component renders 2 times faster now! What is more, dhtmlxDiagram has <a href=\"https:\/\/docs.dhtmlx.com\/diagram\/api\/diagram\/api_overview\/\" target=\"_blank\">new API<\/a> which is clearer and provides more flexibility.<\/p>\n<p>Starting from the version 2.0, dhtmlxDiagram is adaptive, so you don&#8217;t need any special JavaScript code to handle auto-sizing, the component adjusts itself to any HTML container.<\/p>\n<h5>Export to PDF and PNG<\/h5>\n<p>Another important new feature is the ability to export your diagram to PDF and PNG formats. <a href=\"https:\/\/snippet.dhtmlx.com\/ybpmz0zk?tag=diagram&#038;mode=wide\" target=\"_blank\">Check the sample<\/a>. <\/p>\n<p>By default, you&#8217;ll be able to use our online export service for free. Also, you can install the export service locally using the docker image. <strong>As the time-limited offer, this option will be available with the purchase of Enterprise license till the next update of dhtmlxDiagram.<\/strong> <a href=\"https:\/\/dhtmlx.com\/docs\/products\/dhtmlxDiagram\/#pricing\" target=\"_blank\" class=\"page-link\">Buy now<\/a> <\/p>\n<h5>Adding toolbar to diagram nodes <\/h5>\n<p>And last but not least: more interactivity is added. dhtmlxDiagram 2.0 allows you to add custom toolbar to the diagram nodes to perform some particular action. <a href=\"https:\/\/snippet.dhtmlx.com\/4if395hd?tag=diagram&#038;mode=wide\" target=\"_blank\">Check this example<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2018\/02\/custom-toolbar.png\" alt=\"custom toolbar\" width=\"465\" height=\"440\" class=\"aligncenter size-full wp-image-4550\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2018\/02\/custom-toolbar.png 465w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2018\/02\/custom-toolbar-300x284.png 300w\" sizes=\"auto, (max-width: 465px) 100vw, 465px\" \/><\/p>\n<h5>Related resources:<\/h5>\n<ul>\n<li><a href=\"https:\/\/dhtmlx.com\/docs\/products\/dhtmlxDiagram\/download.shtml\" target=\"_blank\">Try dhtmlxDiagram 2.0<\/a><\/li>\n<li>For the licenses customers: go to the <a href=\"https:\/\/dhtmlx.com\/clients\/\" target=\"_blank\">Clients Area<\/a> to get the latest version<\/li>\n<li>Check the <a href=\"https:\/\/docs.dhtmlx.com\/diagram\/whats_new\/\" target=\"_blank\">updated documentation with full what&#8217;s new list<\/a><\/li>\n<li>Browse new <a href=\"https:\/\/snippet.dhtmlx.com\/yfvccvc4?tag=diagram&#038;mode=wide\" target=\"_blank\">samples<\/a><\/li>\n<\/ul>\n<p>We&#8217;ll be happy to get your feedback and opinion on dhtmlxDiagram in general. Use the comments section below or feel free to <a href=\"https:\/\/dhtmlx.com\/docs\/contact.shtml\" target=\"_blank\">contact us via email<\/a>.<\/p>\n<p>Stay tuned for future updates!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DHTMLX Diagram library makes a big step forward and receives a major update: the version 2.0 is out. Now, when using dhtmlxDiagram, you can build different types of diagrams &#8230;<\/p>\n","protected":false},"author":2,"featured_media":4579,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,70,1,38],"tags":[33,58,4],"class_list":["post-4531","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-posts-for-codeproject-com","category-releases","category-uncategorized","category-visible","tag-all-posts","tag-diagram","tag-dhtmlx-updates"],"_links":{"self":[{"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/posts\/4531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/comments?post=4531"}],"version-history":[{"count":13,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/posts\/4531\/revisions"}],"predecessor-version":[{"id":13557,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/posts\/4531\/revisions\/13557"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/media\/4579"}],"wp:attachment":[{"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/media?parent=4531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/categories?post=4531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/tags?post=4531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}