使用php生成随机网络图

I'd like to know how to generate random network graphs with a specific number of nodes and edges in PHP. I've scoured the web tirelessly and even came across this SO question but the answers were for Javascript only.
I also saw this SO question but it was for Java and I'm really not a PHP expert to recreate that solution using PHP.

I'd later visualize the graph using GraphViz if that makes the question a little bit clearer.

查看全部
dthy81285
dthy81285
2015/07/30 16:39
  • php
  • graph
  • 点赞
  • 收藏
  • 回答
    私信

1个回复