🚀 Socket Launch Week Day 4:Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection.Learn more
Sign In

@gx6/tree-graph

Package Overview
Dependencies
Maintainers
1
Versions
245
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gx6/tree-graph

树结构图组件库

latest
npmnpm
Version
0.0.49-beta-23
Version published
Weekly downloads
6
-97.31%
Maintainers
1
Weekly downloads
 
Created
Source

tree-graph

A static site base on dumi.

Development

# install dependencies
$ pnpm install

# start dev server
$ pnpm start

# build docs
$ pnpm run build

# Locally preview the production build
$ pnpm run preview

LICENSE

MIT

TODO:

  • 升级 zustand ==> React 17 使用useSyncExternalStore的垫片包 use-sync-external-store

defaultNodes 和 nodes不能共用,受控和非受控

内置了碰撞检测逻辑 ==> 左侧拖动,节点拖动。

内置标准的复制、粘贴逻辑,支持复制回调,用于修改对应节点的数据。 ===> TODO 能力回收

FAQs

Package last updated on 24 Aug 2025

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