Perl 用大图获取Graphviz2点输入
我的Perl脚本使用模块GraphViz2生成一个非常大的图Perl 用大图获取Graphviz2点输入,perl,graphviz,Perl,Graphviz,我的Perl脚本使用模块GraphViz2生成一个非常大的图 use GraphViz2; my($graph) = GraphViz2 -> new ( edge => {color => 'grey'}, global => {directed => 1}, node => {shape => 'oval'}, ); add_very_many_nodes_and_edges(); # 600 nodes 6.5K
use GraphViz2;
my($graph) = GraphViz2 -> new
(
edge => {color => 'grey'},
global => {directed => 1},
node => {shape => 'oval'},
);
add_very_many_nodes_and_edges(); # 600 nodes 6.5K edges
我想在把这个输入到graphviz之前得到点输入。根据GraphViz2,在获取graph->dot_输入之前,我需要graph->run
不过,这个过程花的时间太长。。在实际运行环境之前,是否有其他方法获取点输入
请记住,当通过使用Graph::Easy模块时,这是可能的
Graph->as_graphviz_file()方法