Giter VIP home page Giter VIP logo

Comments (7)

arademaker avatar arademaker commented on May 24, 2024

ok, maybe related to #8

from cl-graph.

arademaker avatar arademaker commented on May 24, 2024

But what is the best alternative to customize the edges label? How can I setup the edge's label during the graph construction?

from cl-graph.

gwkkwg avatar gwkkwg commented on May 24, 2024

I'll try to look at this this weekend.

from cl-graph.

gwkkwg avatar gwkkwg commented on May 24, 2024

So it's been a long time and I'm not sure about the best fix but the problem is that the graph you use for graph->dot must be a subclass of a dot-graph:

(defclass* dot-graph (dot-graph-mixin graph-container)
  ()
  (:export-p t))```

So _I_ think if you use this graph type, you'll be all set. 

from cl-graph.

arademaker avatar arademaker commented on May 24, 2024

@gwkkwg thank you. But I am still trying to figure out what is the best way to use the lib. I imagine that I should make my classes (sentence and token) subclasses of graph and vertex, right ?

from cl-graph.

gwkkwg avatar gwkkwg commented on May 24, 2024

Yes, making subclasses is the thing to do. (Sorry for the delay)

from cl-graph.

aakropotkin avatar aakropotkin commented on May 24, 2024

I just ran into this same issue. Y'all should update the guide, it's super misleading since it's the only example.

from cl-graph.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.