Code Monkey home page Code Monkey logo

Comments (5)

Am3ra avatar Am3ra commented on May 27, 2024

Would adding weight to notes with more connections be relevant?

from digital-garden-jekyll-template.

vlwkaos avatar vlwkaos commented on May 27, 2024

linksData.filter((l) => l.source === el.id || l.target === el.id)

I am a bit lazy to make a PR. so I will leave it here. During node update, indegree check condition is never true because l.source is an object not an id. So the correct condition should be l.source.id === el.id || l.target.id === el.id to match the created json file.

from digital-garden-jekyll-template.

adrien-perello avatar adrien-perello commented on May 27, 2024

On the Foam discord, someone managed to leverage the Foam graph (see here or here for an idea)

I get the code in this file.
https://github.com/foambubble/foam/blob/master/packages/foam-vscode/static/dataviz/graph.js

Add 2 libaries
<script src="//unpkg.com/force-graph"></script>
<script src="https://d3js.org/d3.v6.min.js%22%3E</script>

Then write a script to build graphData.

Maybe that's an idea?

from digital-garden-jekyll-template.

florhizome avatar florhizome commented on May 27, 2024

To me the question is if I’d want one global graph holding a lot of information (tags, maybe a cumulated attribute like relativity, possible a distinct type of reference for references to book/literature notes) that adapts to the site where it’s displayed and can be manipulated by the visitor with checkboxes or so, or having multiple graphs generated for distinct usages (between a “global view” that gives a useful quick overview on what’s on the site and a detailed, zoomed in “local view”) . I would not know how that would impact performance though. I think for visualization to be really useful long term it would benefit from such adaptability.

from digital-garden-jekyll-template.

manunamz avatar manunamz commented on May 27, 2024

I recommend using the force-graph APIs for this.

from digital-garden-jekyll-template.

Related Issues (20)

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.