Code Monkey home page Code Monkey logo

Comments (3)

jaygray0919 avatar jaygray0919 commented on June 9, 2024

We have a similar problem and plan to use a category selector as used by LesMis examples and others.
Here is our LesMiz version (originally from @vasturiano): https://afdsi.com/___tmp-4/les-mis-avec-selector/
Here is an example similar to yours: https://jsfiddle.net/EPurpl3/qoz5dj31/1/
IMHO the categories must be pre-defined; we can't walk the tree to feature all connections/paths based on a single node (too big a problem)
LesMis illustrates the nearest neighbor query.
I believe the EPurpl3 example was developed by Raúl Ibáñez (https://codepen.io/raulprop) @RaulPROP
We'd be interested in developing a generalized solution.
There is a model we might follow: https://www.gituml.com/viewz/1871
GitUML visualizes GitHub dependencies based on selecting a specific JavaScript library.
/jay

from 3d-force-graph.

gaianraja avatar gaianraja commented on June 9, 2024

Hi,

I am unable to launch jsfiddle. it is getting crashed.

Thanks,
Raja K

from 3d-force-graph.

jaygray0919 avatar jaygray0919 commented on June 9, 2024

Yup, it's big. We run it locally but I don't have a public link to share.
However, it has provided clues (for us) about how to select a Class and all members of a Class.
The GitUML approach is interesting. You identify a text structure (in this case a GitHub repo) and select an item from the class tree.
GitUML then generates the nodes and relationships for the selection (i.e. identifying all dependencies in a workflow).
In other words, provide a tree structure as a menu (where one could select multiple tree terms) and then generate only that part of the graph.
Bottom line: don't try to initially display large models (because they require more resources than are available - e.g. the fiddle)
Instead, provide a navigator with the root on top ("All") and selectors in a descending tree (where "All" cannot be selected).
In the LesMis case, a selection features the "nearest neighbor".
An updated version would identify all dependents/relationships for a selection.

from 3d-force-graph.

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.