Code Monkey home page Code Monkey logo

Comments (6)

auchenberg avatar auchenberg commented on August 29, 2024

Makes good sense. Would be great if someone had time to hack a prototype of this.

from dependo.

naugtur avatar naugtur commented on August 29, 2024

That's what I plan to do, but I might need you to point me to where the fixed position data is.

from dependo.

auchenberg avatar auchenberg commented on August 29, 2024

Dumping the coordinates in local storage would be just fine. Maybe a JSON blob for each "report", so we would need to generate a unique id for each report.

from dependo.

naugtur avatar naugtur commented on August 29, 2024

I get it, but I was asking where to look for the data. If you could point me to a method that fetches the coords of nodes that would be a nice kickstart for my work.

from dependo.

naugtur avatar naugtur commented on August 29, 2024

I've got a proof of concept. I know how to do that.
Now the question is: what should be the unique-enough id of a graph?
My initial idea was to use a hash of all module names, but then you lose the layout if dependencies change. So the code that generates html should say what the identification is. Project folder maybe?

from dependo.

auchenberg avatar auchenberg commented on August 29, 2024

Yeah, I would hash the folder-path, and use that as the key?

from dependo.

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.