New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc