New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@graphiy/behavior

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphiy/behavior

Behavior

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

Build Status

Graphiy Behavior

This is a collection of Objects handling user interactions with a canvas:

  • Pan - move the whole canvas horizontally and vertically
  • Select
    • select on click
    • select multiple with Ctrl key pressed
    • Rectangular selection - group selection by drawing a rectangle
    • Lasso selection - group selection by drawing a free form
  • Drag - drag selected items relative to the canvas with pointer
  • Zoom - resize canvas and items in it proportionally

It's dual-licensed under both GPLv3 and a commercial license for proprietary projects.

TODO

  • randomize initial position of nodes
  • fix offset for dragged element when clicking on child of node for each the event is set
  • Zoom
  • Rectangular selection
  • Lasso selection

Keywords

data visualization

FAQs

Package last updated on 12 Jan 2020

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