{"id":7002,"date":"2015-03-31T15:39:23","date_gmt":"2015-03-31T15:39:23","guid":{"rendered":"https:\/\/pitss.org\/us\/?p=7002"},"modified":"2017-06-20T10:31:01","modified_gmt":"2017-06-20T14:31:01","slug":"generate-graphs-pitss-con-graphviz","status":"publish","type":"post","link":"https:\/\/pitss.org\/us\/2015\/03\/31\/generate-graphs-pitss-con-graphviz\/","title":{"rendered":"How to Generate Graphs in PITSS.CON with GraphViz"},"content":{"rendered":"<p>GraphViz is a great third-party tool which can be used to generate graphs in PITSS.CON. By default, if you generate a graph from PITSS.CON (such as from the \u201cGenerate Forms Flow as DOT file\u201d button in ADF Assistant) as a DOT file, it will create the DOT file code in the PITSS.CON Editor:<\/p>\n<p><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2015\/03\/image7.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" title=\"image\" src=\"https:\/\/pitss.org\/files\/2015\/03\/image_thumb7.png\" alt=\"image\" width=\"384\" height=\"260\" border=\"0\" \/><\/a><\/p>\n<p>The code can be then copied into GraphViz and a graph can be generated.<\/p>\n<p>However, you can configure PITSS.CON to automatically create a graph for you upon request. You can configure this with the steps below:<\/p>\n<p><strong>Prerequisites:<\/strong><\/p>\n<p>1. PITSS.CON must be installed and configured<\/p>\n<p>2. GraphViz must be downloaded from <a href=\"http:\/\/graphviz.org\">http:\/\/graphviz.org<\/a> (be sure to accept the license agreement before downloading and installing the product) and installed in the machine where PITSS.CON is installed.<\/p>\n<p><strong>Setup:<\/strong><\/p>\n<p>1. If PITSS.CON is currently open, please log out of PITSS.CON.<\/p>\n<p>2. Open up pitsscon.env (or the env file associated with your PITSS.CON user)<\/p>\n<p>3. In the PATH environment variable, add the following entry to the end of the PATH:<\/p>\n<blockquote><p>;C:\\PROGRA~2\\Graphviz2.38\\bin (NOTE: The path may be different if you installed GraphViz in a different location)<\/p>\n<p><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2015\/03\/SNAGHTMLe4ef71.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" title=\"SNAGHTMLe4ef71\" src=\"https:\/\/pitss.org\/files\/2015\/03\/SNAGHTMLe4ef71_thumb.png\" alt=\"SNAGHTMLe4ef71\" width=\"503\" height=\"544\" border=\"0\" \/><\/a><\/p><\/blockquote>\n<p>4. Save and close the file.<\/p>\n<p>5. Repeat steps 2-4 for any other PITSS.CON-related env files.<\/p>\n<p>After applying the steps above, if you attempt to generate a graph from modules such as ADF Assistant or Systems Analysis (inside Application Engineering), a graph will automatically be created in a separate tab or window (depending on your Web browser configuration).<\/p>\n<p><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2015\/03\/image8.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" title=\"image\" src=\"https:\/\/pitss.org\/files\/2015\/03\/image_thumb8.png\" alt=\"image\" width=\"524\" height=\"275\" border=\"0\" \/><\/a><\/p>\n<p>This will also prevent end users from having to install GraphViz on their local machines as it will be used from the installation on the server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GraphViz is a great third-party tool which can be used to generate graphs in PITSS.CON. By default, if you generate a graph from PITSS.CON (such as from the \u201cGenerate Forms Flow as DOT file\u201d button in ADF Assistant) as a DOT file, it will create the DOT file code in the PITSS.CON Editor: The code [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[4,6],"tags":[3,7],"class_list":["post-7002","post","type-post","status-publish","format-standard","hentry","category-install-config","category-pitss-con","tag-faq","tag-pitss-con"],"_links":{"self":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/7002","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/comments?post=7002"}],"version-history":[{"count":10,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/7002\/revisions"}],"predecessor-version":[{"id":9406,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/7002\/revisions\/9406"}],"wp:attachment":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/media?parent=7002"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/categories?post=7002"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/tags?post=7002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}