{"id":61,"date":"2018-04-01T18:28:01","date_gmt":"2018-04-01T18:28:01","guid":{"rendered":"http:\/\/www.sqldashboards.com\/b\/?p=61"},"modified":"2018-04-01T18:28:01","modified_gmt":"2018-04-01T18:28:01","slug":"sqldashboards-supports-graphsnodes-state-diagrams","status":"publish","type":"post","link":"https:\/\/www.sqldashboards.com\/b\/sqldashboards-supports-graphsnodes-state-diagrams\/","title":{"rendered":"sqlDashboards supports Graphs,Nodes and State Diagrams"},"content":{"rendered":"<p>sqlDashboards is specialised for real-time data visualization. Often this includes monitoring the state of orders, whether that&#8217;s baskets of goods being ordered online or financial transactions, we want to help you see what state those items are in. To support visualizing this data we&#8217;ve integrated the most powerful open source graphing: <a href=\"https:\/\/en.wikipedia.org\/wiki\/DOT_(graph_description_language)\">DOT<\/a> and graphviz. If you install <a href=\"https:\/\/www.graphviz.org\/download\/\">graphviz<\/a> and make it available in your path, you can automatically get sqlDashboards to generate graphs from tabular data, like so:<\/p>\n<table class=\"table table-bordered table-hover table-condensed\">\n<\/thead>\n<tr>\n<th>From<\/th>\n<th>To<\/th>\n<th>label<\/th>\n<th>cnt<\/th>\n<\/tr>\n<tr>\n<td>PendingCancel<\/td>\n<td>Calculated<\/td>\n<td>Rejected<\/td>\n<td>50<\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<tr>\n<td>PendingReplace<\/td>\n<td>Calculated<\/td>\n<td>Rejected<\/td>\n<td>10<\/td>\n<\/tr>\n<tr>\n<td>PendingReplace<\/td>\n<td>Calculated<\/td>\n<td>Replaced<\/td>\n<td>40<\/td>\n<\/tr>\n<tr>\n<td>Calculated<\/td>\n<td>PendingReplace<\/td>\n<td>PendingReplace<\/td>\n<td>50<\/td>\n<\/tr>\n<tr>\n<td>Calculated<\/td>\n<td>Filled<\/td>\n<td>Trade<\/td>\n<td>9400<\/td>\n<\/tr>\n<tr>\n<td>Calculated<\/td>\n<td>Calculated<\/td>\n<td>Trade<\/td>\n<td>5239<\/td>\n<\/tr>\n<tr>\n<td>PendingCancel<\/td>\n<td>Removed<\/td>\n<td>Cancelled<\/td>\n<td>150<\/td>\n<\/tr>\n<tr>\n<td>Calculated<\/td>\n<td>PendingCancel<\/td>\n<td>PendingCancel<\/td>\n<td>200<\/td>\n<\/tr>\n<tr>\n<td>New<\/td>\n<td>Calculated<\/td>\n<td>Calculated<\/td>\n<td>9660<\/td>\n<\/tr>\n<tr>\n<td>New<\/td>\n<td>Removed<\/td>\n<td>Rejected<\/td>\n<td>140<\/td>\n<\/tr>\n<tr>\n<td>Created<\/td>\n<td>Removed<\/td>\n<td>Rejected<\/td>\n<td>300<\/td>\n<\/tr>\n<tr>\n<td>Created<\/td>\n<td>New<\/td>\n<td>New<\/td>\n<td>9800<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"http:\/\/www.sqldashboards.com\/b\/wp-content\/uploads\/2018\/04\/fix-lifecycle.png\"><img loading=\"lazy\" src=\"http:\/\/www.sqldashboards.com\/b\/wp-content\/uploads\/2018\/04\/fix-lifecycle.png\" alt=\"fix-lifecycle\" width=\"849\" height=\"407\" class=\"alignnone size-full wp-image-62\" srcset=\"https:\/\/www.sqldashboards.com\/b\/wp-content\/uploads\/2018\/04\/fix-lifecycle.png 849w, https:\/\/www.sqldashboards.com\/b\/wp-content\/uploads\/2018\/04\/fix-lifecycle-300x143.png 300w\" sizes=\"(max-width: 849px) 100vw, 849px\" \/><\/a><\/p>\n<p>Notice to get the labels and styling you use a column called label or style respectively. The full format is detailed on the <a href=\"http:\/\/www.sqldashboards.com\/help\/chart-examples-light-theme#dot-graph\">sqlDashboards example page<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>sqlDashboards is specialised for real-time data visualization. Often this includes monitoring the state of orders, whether that&#8217;s baskets of goods being ordered online or financial transactions, we want to help you see what state those items are in. To support visualizing this data we&#8217;ve integrated the most powerful open source graphing: DOT and graphviz. If [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.sqldashboards.com\/b\/wp-json\/wp\/v2\/posts\/61"}],"collection":[{"href":"https:\/\/www.sqldashboards.com\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sqldashboards.com\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqldashboards.com\/b\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqldashboards.com\/b\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":1,"href":"https:\/\/www.sqldashboards.com\/b\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"predecessor-version":[{"id":63,"href":"https:\/\/www.sqldashboards.com\/b\/wp-json\/wp\/v2\/posts\/61\/revisions\/63"}],"wp:attachment":[{"href":"https:\/\/www.sqldashboards.com\/b\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqldashboards.com\/b\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqldashboards.com\/b\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}