Directed Dependency Graph in php -


is possible construct directed dependency graph in yii framework of php or in classic php. want dynamically draw graph this,

enter image description here

i have array of ids as:

array ( [0] =>array ( [0] => 10 [1] => 12 [2] => 14 [3] => 19 )         [1] => array ( [0] => 10 [1] => 13 [2] => 18 [3] => 20 )         [2] => array ( [0] => 10 [1] => 16 [2] => 14 [3] => 21 )          [3] => array ( [0] => 10 [1] => 12 [2] => 18 [3] => 19 )         [4] => array ( [0] => 10 [1] => 13 [2] => 14 [3] => 20 )          [5] => array ( [0] => 10 [1] => 16 [2] => 18 [3] => 21 )          [6] => array ( [0] => 10 [1] => 12 [2] => 14 [3] => 19 )          [7] => array ( [0] => 10 [1] => 13 [2] => 18 [3] => 20 )          [8] => array ( [0] => 10 [1] => 16 [2] => 14 [3] => 21 )          [9] => array ( [0] => 10 [1] => 12 [2] => 18 [3] => 19 )          [10] => array ( [0] => 10 [1] => 13 [2] => 14 [3] => 20 )          [11] => array ( [0] => 10 [1] => 16 [2] => 18 [3] => 21 )          [12] => array ( [0] => 10 [1] => 12 [2] => 14 [3] => 19 )          [13] => array ( [0] => 10 [1] => 13 [2] => 18 [3] => 20 )          [14] => array ( [0] => 10 [1] => 16 [2] => 14 [3] => 21 )          [15] => array ( [0] => 10 [1] => 12 [2] => 18 [3] => 19 )          [16] => array ( [0] => 10 [1] => 13 [2] => 14 [3] => 20 )          [17] => array ( [0] => 10 [1] => 16 [2] => 18 [3] => 21 )      ) ; 

i don't know php, taking leaf out of maven dependency graph, should piece of code generates dependency tree. because dependencies can't form closed loop; have in tree form.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -