Commit accde323 authored by Ioanna M. Dimitriou H.'s avatar Ioanna M. Dimitriou H. 💬
Browse files

tilde in pathname now allowed

parent ba3168e1
Loading
Loading
Loading
Loading
+6 −3
Changes for README.md: 6 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -16,9 +16,7 @@ declared in a Common Lisp `<system-name>.asd` file.

## Usage

Load this file in a Common Lisp REPL (tested with CCL and SBCL), 
and if `<file-name>` is your path (including the path to the file)
to your `<system-name>.asd`, then evaluate:
Load this file in a Common Lisp REPL (tested with CCL and SBCL), and if `<file-name>` is the path (including the path to the file) to the `<system-name>.asd` you would like to draw the graph of, then evaluate:

`(asd-graph <file-name>)`

@@ -30,6 +28,11 @@ This will create a dot and an svg (or `<fmt>` if keyword :format was used) file
directory as `<file-name>`, or in `<output-dir>` if keyword
:output-dir was used.

### Example usage

`(asd-graph "~/quicklisp/local-projects/jeffrey/jeffrey.asd")`
`(asd-graph "~/quicklisp/local-projects/jeffrey/jeffrey.asd" :format "pdf")`

### Formats supported by dot:

`<fmt>` can take one of the following values:
+2 −2
Changes for asd-graph.lisp: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -144,6 +144,6 @@ node [shape=box];")
     "/usr/bin/dot"
     (list
      (format nil "-T~a" format)
      (filename output-dir system-name "dot")
      (merge-pathnames (filename output-dir system-name "dot"))
      "-o"
      (filename output-dir system-name format)))))
      (merge-pathnames (filename output-dir system-name format))))))
+31 −22
Changes for examples/jeffrey.dot: 31 added lines, 22 removed lines.
Original line number Diff line number Diff line
digraph jeffrey {
splines=ortho;
rankdir = LR;
node [shape=box];"read" -> "graph";
"read" -> "parse";
"read" -> "process-strings";
"predicates" -> "graph";
"predicates" -> "read";
"draw" -> "graph";
"draw" -> "read";
"draw" -> "predicates";
"labelmaker" -> "graph";
"labelmaker" -> "read";
"main" -> "graph";
"main" -> "read";
"main" -> "predicates";
"main" -> "draw";
"latex-in-html" -> "graph";
"website" -> "main";
"website" -> "parse-web-input";
"website" -> "latex-in-html";
"example-form-groups" -> "main";
"test" -> "graph";
"test" -> "read";
"test" -> "predicates";
node [shape=box];

subgraph clustercore { "read" "graph" "draw" "predicates"; label="core"; color="0.0, 0.3, 1.0"; style=filled; }

subgraph clusterparse { "parse" "process-strings" "latex-in-html" "parse-web-input"; label="parse"; color="0.2, 0.3, 1.0"; style=filled; }

subgraph clusterutil { "example-form-groups" "labelmaker"; label="util"; color="0.4, 0.3, 1.0"; style=filled; }

subgraph clusterweb { "website" "web-draw"; label="web"; color="0.6, 0.3, 1.0"; style=filled; }

subgraph clustertest { "test"; label="test"; color="0.8, 0.3, 1.0"; style=filled; }

"read" -> { "graph"  "parse"  "process-strings" };

"predicates" -> { "graph"  "read" };

"draw" -> { "graph"  "read"  "predicates" };

"labelmaker" -> { "graph"  "read" };

"main" -> { "graph"  "read"  "predicates"  "draw" };

"latex-in-html" -> { "graph" };

"website" -> { "main"  "web-draw"  "parse-web-input"  "latex-in-html" };

"example-form-groups" -> { "main" };

"test" -> { "graph"  "read"  "predicates" };


}
+152 −122

File changed.

Preview size limit exceeded, changes collapsed.