title: How to use graphviz dot notation in php?
body: <p>I'm just wondering if anybody help me know how to use graphviz dot notation in php?</p>
  
  <p>UPDATE:
  or how can I add a code like bellow directly in my php file ?</p>
  
  <pre><code>digraph dfd2{
          node[shape=record]
          subgraph level0{
          enti1 [label="Customer" shape=box];
          enti2 [label="Manager" shape=box];
          }
          subgraph cluster_level1{
                          label ="Level 1";
                          proc1 [label="{&lt;f0&gt; 1.0|&lt;f1&gt; One process here\n\n\n}" shape=Mrecord];
                          proc2 [label="{&lt;f0&gt; 2.0|&lt;f1&gt; Other process here\n\n\n}" shape=Mrecord];
                          store1 [label="&lt;f0&gt;    |&lt;f1&gt; Data store one"];
                          store2 [label="&lt;f0&gt;   |&lt;f1&gt; Data store two"];
                          {rank=same; store1, store2}
  
          }
          enti1 -&gt; proc1
          enti2 -&gt; proc2
          store1 -&gt; proc1
          store2 -&gt; proc2
          proc1 -&gt; store2
          store2 -&gt; proc1 
  }
  </code></pre>
  
  <p>Best Regards</p>