3 ms·
As I had zero experience with graph databases, this was generally a good intro, but the article could do with some polishing to save newbies like me from the un
by dcw303 11y ago
As I had zero experience with graph databases, this was generally a good intro, but the article could do with some polishing to save newbies like me from the underlying suspicion that they're missing something obvious. I tried just reading the tutorial without watching the video, and suffered some cognitive dissonance.
At the end of the article, there's two diagrams that show the behaviour of jcvd.out() and jcvd.outE(). The little gremlins are pointing at two vertices and two edges respectively, but from the 15 lines of code earlier, they're the wrong connections, right? jcvd only has edges to kickboxer and bloodsport, but the diagrams show connections to kickboxer and timecop.
So I looked at the code again, and realized the timecop vertex was never created, which seems kinda odd if you're going to use it in the diagram.
I eventually watched the video and saw animations where the little gremlins go to all three vertices/edges, so it's probably just a badly timed screencap for the article. Not that that explains why timecop is not in the code example, but whatever.
- rustyrazorblade 11y agoYou're right, there's some inconsistencies in the code vs the slides. Must have missed that. I'll fix that going forward.