Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webcmp-topo-chart-horizontal

Package Overview
Dependencies
Maintainers
4
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webcmp-topo-chart-horizontal

> 拓扑图组件封装

  • 2.0.24-keta.6
  • npm
  • Socket score

Version published
Weekly downloads
22
decreased by-73.17%
Maintainers
4
Weekly downloads
 
Created
Source

webcmp-topo-chart-horizontal

拓扑图组件封装

Install

# run in terminal
yarn add webcmp-topo-chart-horizontal
# or
npm install webcmp-topo-chart-horizontal

Usage

import Fruchterman from 'webcmp-topo-chart-horizontal'

const fruchterman = new Fruchterman(dom)
fruchterman.render({
  hideExport: true,
  data: {
    nodes: [
      {
        id: '0e359bf67a182f5f58efa5075b113483',
        label: '节点',
        targetTypeName: 'deeeedeeeedeeeedeeeedeeeedeeee',
        icon: 'asset_node',
        showLink: false,
        targetType: 'node',
        link: false,
      },
    ],
    edges: [
      {
        source: '0e359bf67a182f5f58efa5075b113483',
        target: '0e359bf67a182f5f58efa5075b113483',
      },
    ],
  },
})

publish

prerelease

  • 设置源 & 登录
npm login --registry http://nexus.ketaops.cc/repository/npm-hosted
npm set registry http://nexus.ketaops.cc/repository/npm-hosted

账号密码联系 @郭龙

  • 修改 package.json 版本号,规则: 目标版本 + prerelease + 序号

  • 完整构建项目

  • 发布

npm publish

正式包

  • 设置源
npm set registry https://registry.npmjs.org
  • 修改 package.json 版本号,规则: 去掉预发版的 prerelease + 序号

  • 完整构建项目

  • 发布

npm publish
  • 同步阿里镜像
cnpm synk webcmp-topo-chart-horizontal
open https://npmmirror.com/sync/webcmp-topo-chart-horizontal

FAQs

Package last updated on 15 Nov 2023

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