added delete-all-edges
[cl-graph.git] / dev / package.lisp
index 4a00188..f0f28d5 100644 (file)
@@ -7,12 +7,12 @@ Author: Gary King, et. al.
 DISCUSSION
 
 |#
-(in-package common-lisp-user)
+(in-package #:common-lisp-user)
 
-(defpackage "CL-GRAPH"
-  (:use "COMMON-LISP" "METATILITIES" "CL-CONTAINERS" 
-        "METABANG.BIND" "METABANG.MATH")
-  (:nicknames "METABANG.GRAPH")
+(defpackage #:cl-graph
+  (:use #:common-lisp #:metatilities #:cl-containers 
+        #:metabang.bind #:metabang.math)
+  (:nicknames #:metabang.graph)
   (:documentation "CL-Graph is a Common Lisp library for manipulating graphs and running graph algorithms.")
   
   (:export 
@@ -96,7 +96,8 @@ DISCUSSION
    
    #:add-edge                      ; graph edge
    #:delete-edge                   ; graph edge
-   
+   #:delete-all-edges
+
    #:add-vertex                    ; graph { value | vertex }
    #:delete-vertex                 ; graph { value | vertex }
    #:find-vertex                   ; graph { value | vertex }
@@ -169,4 +170,11 @@ DISCUSSION
    #:graph-mixing-matrix
    #:graph-edge-mixture-matrix
    #:assortativity-coefficient
-   #:vertex-degree-summary))
\ No newline at end of file
+   #:vertex-degree-summary)
+
+  (:export
+   #:print-dot-key-value
+   #:dot-attribute-value
+   #:dot-attributes-mixin
+   #:*dot-graph-attributes*
+   ))
\ No newline at end of file