You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@nothing-but/force-graph

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nothing-but/force-graph

**`@nothing-but/force-graph`**

0.9.5
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
0
Weekly downloads
 
Created
Source

Force Graph

@nothing-but/force-graph

https://nothing-but.vercel.app

TODO:

  • node key
  • node mass
  • delta time (simulation iterations)
  • grid config
  • link strength
  • stop simulation when inactive (alpha)
  • adding/removing nodes
  • make the graph bigger
  • canvas rendering
    • dispaly node labels
    • custom aspect ratios
    • move to lib
    • remove solid dependency
    • link directions (arrows)
    • custom rendering of nodes/edges
  • svg rendering (deprecated for now, canvas is way faster)
  • interaction - gestures
    • dragging nodes
      • touch
    • movement gestures
      • with space
      • without space
      • touch
      • clamp to graph
    • zoom gestures
      • zoom to mouse position
      • touch
    • hover
    • click
    • avoid closures - recreating functions
    • separate from rendering
      • separate from canvas
      • standard interfaces? (strategy pattern)
    • classes (has internal lifecycle)
    • escape key to reset
    • try immediate mode api (instead of callbacks, handle interactions in the next frame)
  • frame animation class

FAQs

Package last updated on 11 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts