How to use the flow-view.Node.defaultProps function in flow-view

To help you get started, we’ve selected a few flow-view examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fibo / flow-view / examples / custom / item.js View on Github external
text
    } = this.props

    return (
      
    )
  }
}

BigNode.defaultProps = Object.assign({},
  Node.defaultProps,
  {
    bodyHeight: 100
  }
)

const view = {
  width: 400,
  height: 300,
  node: {
    a: {
      x: 80,
      y: 10,
      width: 100,
      text: 'Root',
      outs: ['out']
    },

flow-view

is a visual editor for dataflow programming

MIT
Latest version published 2 years ago

Package Health Score

45 / 100
Full package analysis