Comments (7)
ok, maybe related to #8
from cl-graph.
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.
I'll try to look at this this weekend.
from cl-graph.
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.
@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.
Yes, making subclasses is the thing to do. (Sorry for the delay)
from cl-graph.
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)
- (depth g) doesn't report correctly HOT 6
- In graph.lisp in-undirected-cycle-p is not correct HOT 4
- Incorrect methods has-parent-p, has-children-p
- Graphviz dot export broken? HOT 2
- asdf-system-connections HOT 1
- assign-level may take exponential time HOT 1
- Configure vertex equality check
- Interest in thread-safe cl-graph? HOT 1
- Failing test : The slot CL-GRAPH:GRAPH-VERTEXES is unbound in the object HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cl-graph.