Zettelkasten Forum


Announcing zkviz: Visualize Link Network Between Zettels

2»

Comments

  • @waterglass22 Are your notes named using the standard naming convention? ie. "201906202320 Note Name Here.md"

  • @orderinthecourts said:
    @waterglass22 Are your notes named using the standard naming convention? ie. "201906202320 Note Name Here.md"

    Hi, Yes, I created a new archive with just 3 notes following the standard naming convention with slightly different error message below:

    Traceback (most recent call last):
    File "/Users/tdiaz/envs/zkviz/bin/zkviz", line 11, in
    load_entry_point('zkviz==1.3.0', 'console_scripts', 'zkviz')()
    File "/Users/tdiaz/envs/zkviz/lib/python3.7/site-packages/zkviz/zkviz.py", line 197, in main
    graph.render(args.output)
    File "/Users/tdiaz/envs/zkviz/lib/python3.7/site-packages/zkviz/plotly.py", line 158, in render
    fig = self.build_plotly_figure()
    File "/Users/tdiaz/envs/zkviz/lib/python3.7/site-packages/zkviz/plotly.py", line 98, in build_plotly_figure
    text = "
    ".join([node, self.graph.node[node].get("title", "")])
    AttributeError: 'Graph' object has no attribute 'node'

    Thanks
    Tom

  • @waterglass22 It's a typo in the script. You have to edit line 98 in /Users/tdiaz/envs/zkviz/lib/python3.7/site-packages/zkviz/plotly.py where it says self.graph.node it should be self.graph.nodes with an S

  • That worked! Thank you.

Sign In or Register to comment.