npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

flow-chart-editor

v0.1.3

Published

流程设计器

Downloads

164

Readme

flow-chart-editor

npm NPM downloads JS gzip size CSS gzip size Join the chat at https://gitter.im/tlzzu/flow-chart-editor

基于cytoscape.js的流程设计器,优点是可以在流程节点中嵌套子流程,支持实/虚线、连线弯曲、撤销重做、放大缩小,导出 json/png/jpg 文档等。演示文档 Demo

在此,感谢 easyicon.net 提供的图标。

1. 预览-Preview

2. 安装使用-Install

3. 二次开发-Build

4. 文档-Document

5. 依赖-Dependencies

6. 捐赠-Donation

7. 许可证-LICENSE

1. 预览-Preview

2. 安装使用-Install

npm 安装

推荐使用 npm 安装

npm i flow-chart-editor -S

可在页面中引用

import FCE from "flow-chart-ed";

var fce=new FCE(options...);

脚本引用

<!DOCTYPE html>
<html>
  <head>
    <title>flow-chart-editor</title>
    <script src="js/fce.1.0.0.min.js">
  </head>
  <body>
    <div id="fce"></div>
    <script>
        var fce=new FCE(options...);
        ...
    </script>
  </body>
</html>

3. 二次开发-Build

二次开发前请确保已经安装nodewebpack。在控制台中执行 npm run <target>,其中:

  • dev:开发模式
  • build:执行打包

4. 文档-Document

5. 依赖-Dependencies

jquery ^3.2.1

cytoscape ^3.2.0

cytoscape-context-menus ^3.0.5

cytoscape-edge-bend-editing ^1.5.4

cytoscape-edgehandles ^3.0.2

cytoscape-grid-guide ^2.0.5

cytoscape-view-utilities ^2.0.7

cytoscape.js-undo-redo ^1.0.1

6. 捐赠-Donation

如果觉得有用可赏杯咖啡。 image

7. 许可证-LICENSE

MIT.