[ library(daVinci) | Reference Manual | Alphabetic Index ]
daVinci_draw_graph(+Graph)
Draw a graph in lib(graph_algorithms) format
- Graph
- a graph description
Description
This predicate takes a graph in the format defined by the
library lib(graph_algorithms), and draws it.
Examples
:- lib(graph_algorithms).
:- lib(daVinci).
top :-
make_random_graph(10,20,true,true,true,Graph),
daVinci_draw_graph(Graph).