File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ A library for visualizing graphs in Prolog.
44
55## Dependencies
66
7- Install GraphViz:
7+ 1 . Install [ SWI-Prolog] ( https://www.swi-prolog.org ) .
8+
9+ 2 . Install GraphViz:
810
911``` sh
1012apt install graphviz # Debian, Ubuntu
@@ -13,16 +15,15 @@ dnf install graphviz # Fedora, Red Hat
1315
1416## Installation
1517
16- Run the following in [ SWI-Prolog ] ( https://www.swi-prolog.org ) :
18+ Install this library :
1719
18- ``` pl
19- pack_install(prolog_graphviz).
20+ ``` sh
21+ swipl -g ' pack_install(prolog_graphviz)' -t halt
2022```
2123
2224## Use
2325
24- Once installed, modules from this library can by imported in the
25- following way:
26+ Once installed, modules from this library are loaded as follows:
2627
2728``` pl
2829?- [library(gv)].
You can’t perform that action at this time.
0 commit comments