[ library(graphviz) | The ECLiPSe Libraries | Reference Manual | Alphabetic Index ]

view_graph(+Graph)

Display a given graph in a window (using default options)
Graph
A graph structure

Modules

This predicate is sensitive to its module context (tool predicate, see @/2).

Examples

    ?- lib(graph_algorithms), lib(graphviz).
    Yes (1.17s cpu)

    ?- make_random_graph(10,30,true,true,true,G), view_graph(G).
    G = graph(...)
    Yes (0.03s cpu)
    

See Also

view_graph / 2, library(graph_algorithms)