GithubHelp home page GithubHelp logo

viqfqpay002 / dagre-d3-flow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from autoft/dagre-d3-flow

0.0 0.0 0.0 27 KB

使用dagre-d3自定义流程节点关系,并配置节点及连线样式

HTML 100.00%

dagre-d3-flow's Introduction

dagre-d3-flow

使用dagre-d3自定义流程节点关系,并配置节点及连线样式

基本格式

[
  {
    "nodeIcon":"svg",
    "nodeId":"3db4a0c3-de2f-48e2-b802-e86a7795",
    "nextNodeId":"6cfa1855-6b4a-45f2-ac65-03c876a0"
  },
  {
    "nodeIcon":"svg",
    "nodeId":"6cfa1855-6b4a-45f2-ac65-03c876a0",
    "nextNodeId":"aae5a1c3-e4a9-4f8a-a1f4-629fc37b"
  },
  {
    "nodeIcon":"svg",
    "nodeId":"6cfa1855-6b4a-45f2-ac65-03c876a0",
  }
]

基本连线

多子节点

[
  {
    "nodeIcon":"svg",
    "nodeId":"3db4a0c3-de2f-48e2-b802-e86a7795",
    "nextNodeId":["6cfa1855-6b4a-45f2-ac65-03c876a0","d341df2c-2876-4651-938c-fd6ec7c3","7b8c54aa-ff7f-4f9b-a66f-fbced469"]
  },
  {
    "nodeIcon":"svg",
    "nodeId":"6cfa1855-6b4a-45f2-ac65-03c876a0",
    "nextNodeId":"aae5a1c3-e4a9-4f8a-a1f4-629fc37b"
  },
  {
    "nodeIcon":"svg",
    "nodeId":"d341df2c-2876-4651-938c-fd6ec7c3",
    "nextNodeId":"aae5a1c3-e4a9-4f8a-a1f4-629fc37b"
  },
  {
    "nodeIcon":"svg",
    "nodeId":"7b8c54aa-ff7f-4f9b-a66f-fbced469",
    "nextNodeId":"aae5a1c3-e4a9-4f8a-a1f4-629fc37b"
  },
  {
    "nodeIcon":"svg",
    "nodeId":"aae5a1c3-e4a9-4f8a-a1f4-629fc37b",
    "nextNodeId":"a89ce227-7432-4425-aa91-b4ed6f5d"
  },
  {
    "nodeIcon":"svg",
    "nodeId":"a89ce227-7432-4425-aa91-b4ed6f5d",
  }
]

多子节点

dagre-d3-flow's People

Contributors

autoft avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.