Did you know ... | Search Documentation: |
![]() | Pack callgraph -- prolog/library/dot.pl |
Produces .dot language graphs from relational and functional schemata.
Graph strucure is as follows:
digraph ---> digraph(Name:term, G:list(element)). subgraph ---> subgraph(Name:term, G:list(element)). element ---> subgraph ; option ; node_opts(list(option)) ; edge_opts(list(option)) ; with_opts(element, list(option)) ; arrow(term,term) % directed edge ; line(term,term) % undirected edge ; node(term). option ---> opt_name=opt_value. opt_name == atom opt_value == phrase
Graph, node and edge labels can be terms and are written using write/1 for writing in the dot file.
Samer Abdallah Centre for Digital Music, Queen Mary, University of London, 2007 Department of Computer Science, UCL, 2014
The following predicates are exported, but not or incorrectly documented.