Skip to content

Graphviz dot export broken? #8

Description

@enriquefernandez

I'm trying to run the example in the documentation (https://common-lisp.net/project/cl-graph/user-guide.html#header3-18):

(let ((g (make-container 'graph-container :default-edge-type :directed)))  
  (loop for (a b) in '((a b) (b c) (b d) (d e) (e f) (d f)) do  
        (add-edge-between-vertexes g a b))  
  (graph->dot g nil)) 

and I'm getting the following error:

There is no applicable method for the generic function
  #<STANDARD-GENERIC-FUNCTION DOT-ATTRIBUTE-VALUE (1)>
when called with arguments
  (:LABEL #<GRAPH-CONTAINER-DIRECTED-EDGE <#<A> #<B> NIL>>).

Has anything changed?

My old code that used cl-graph and dot export is failing with the same error and I just discovered that the example in the documentation doesn't work either.

Any idea as to why this fails?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions