Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Decent implementation of DAG in PHP?

Is there some available PHP implementations out there of directed acyclic graph ? I've found DRUPAL's (https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Component%21Graph%21Graph.php/8) but it's not really helpful (I want to add/delete nodes as well). Any suggestions ?

like image 435
Ogito Cherpi Avatar asked Oct 09 '13 09:10

Ogito Cherpi


1 Answers

Look at this article, it might be of help: http://www.codeproject.com/Articles/22824/A-Model-to-Represent-Directed-Acyclic-Graphs-DAG-o

like image 138
ziGi Avatar answered Sep 25 '22 07:09

ziGi