@antv/x6-react-shape
X6 shape for rendering react components.
Last updated 7 days ago by bubkoo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @antv/x6-react-shape 
SYNC missed versions from official npm registry.

@antv/x6-react-shape

x6 shape for rendering react components

Installation

# npm
$ npm install @antv/x6-react-shape --save

# yarn
$ yarn add @antv/x6-react-shape

Usage

import { Graph } from '@antv/x6'
import '@antv/x6-react-shape'

// render
graph.addNode({
  shape: 'react-shape',
  x: 32,
  y: 48,
  width: 180,
  height: 40,
  component: (
    <div
      style={{
        color: '#fff',
        width: '100%',
        height: '100%',
        background: '#597ef7',
        textAlign: 'center',
        lineHeight: '40px',
      }}
    >
      This is a react element
    </div>
  ),
})

Current Tags

  • 1.0.0-beta.5                                ...           beta (2 months ago)
  • 1.2.3                                ...           latest (7 days ago)

108 Versions

  • 1.2.3                                ...           7 days ago
  • 1.2.2                                ...           8 days ago
  • 1.2.1                                ...           11 days ago
  • 1.2.0                                ...           11 days ago
  • 1.1.60                                ...           11 days ago
  • 1.1.59                                ...           11 days ago
  • 1.1.58                                ...           14 days ago
  • 1.1.57                                ...           14 days ago
  • 1.1.56                                ...           14 days ago
  • 1.1.55                                ...           14 days ago
  • 1.1.54                                ...           15 days ago
  • 1.1.53                                ...           15 days ago
  • 1.1.52                                ...           19 days ago
  • 1.1.51                                ...           19 days ago
  • 1.1.50                                ...           20 days ago
  • 1.1.49                                ...           21 days ago
  • 1.1.48                                ...           22 days ago
  • 1.1.47                                ...           24 days ago
  • 1.1.46                                ...           25 days ago
  • 1.1.45                                ...           25 days ago
  • 1.1.44                                ...           a month ago
  • 1.1.43                                ...           a month ago
  • 1.1.42                                ...           a month ago
  • 1.1.41                                ...           a month ago
  • 1.1.40                                ...           a month ago
  • 1.1.39                                ...           a month ago
  • 1.1.38                                ...           a month ago
  • 1.1.37                                ...           a month ago
  • 1.1.36                                ...           a month ago
  • 1.1.34                                ...           a month ago
  • 1.1.33                                ...           a month ago
  • 1.1.32                                ...           a month ago
  • 1.1.31                                ...           a month ago
  • 1.1.30                                ...           a month ago
  • 1.1.29                                ...           a month ago
  • 1.1.28                                ...           a month ago
  • 1.1.27                                ...           a month ago
  • 1.1.26                                ...           a month ago
  • 1.1.25                                ...           a month ago
  • 1.1.24                                ...           a month ago
  • 1.1.23                                ...           a month ago
  • 1.1.20                                ...           a month ago
  • 1.1.19                                ...           a month ago
  • 1.1.18                                ...           a month ago
  • 1.1.17                                ...           a month ago
  • 1.1.16                                ...           a month ago
  • 1.1.15                                ...           a month ago
  • 1.1.14                                ...           a month ago
  • 1.1.13                                ...           a month ago
  • 1.1.12                                ...           a month ago
  • 1.1.11                                ...           a month ago
  • 1.1.10                                ...           a month ago
  • 1.1.9                                ...           a month ago
  • 1.1.8                                ...           a month ago
  • 1.1.7                                ...           a month ago
  • 1.1.6                                ...           a month ago
  • 1.1.5                                ...           a month ago
  • 1.1.3                                ...           2 months ago
  • 1.1.2                                ...           2 months ago
  • 1.1.1                                ...           2 months ago
  • 1.1.0                                ...           2 months ago
  • 1.0.9                                ...           2 months ago
  • 1.0.8                                ...           2 months ago
  • 1.0.7                                ...           2 months ago
  • 1.0.6                                ...           2 months ago
  • 1.0.5                                ...           2 months ago
  • 1.0.4                                ...           2 months ago
  • 1.0.3                                ...           2 months ago
  • 1.0.2                                ...           2 months ago
  • 1.0.1                                ...           2 months ago
  • 1.0.0                                ...           2 months ago
  • 0.10.35                                ...           2 months ago
  • 1.0.0-beta.5                                ...           2 months ago
  • 0.10.33                                ...           2 months ago
  • 0.10.32                                ...           2 months ago
  • 0.10.31                                ...           2 months ago
  • 0.10.30                                ...           2 months ago
  • 0.10.29                                ...           2 months ago
  • 0.10.28                                ...           2 months ago
  • 0.10.27                                ...           2 months ago
  • 0.10.26                                ...           2 months ago
  • 0.10.25                                ...           2 months ago
  • 0.10.24                                ...           2 months ago
  • 0.10.23                                ...           2 months ago
  • 0.10.22                                ...           2 months ago
  • 0.10.21                                ...           2 months ago
  • 0.10.20                                ...           2 months ago
  • 1.0.0-beta.4                                ...           2 months ago
  • 0.10.18                                ...           2 months ago
  • 1.0.0-beta.3                                ...           3 months ago
  • 1.0.0-beta.2                                ...           3 months ago
  • 1.0.0-beta.1                                ...           3 months ago
  • 0.10.18-beta.3                                ...           3 months ago
  • 0.10.18-beta.2                                ...           3 months ago
  • 0.10.13                                ...           4 months ago
  • 0.10.10                                ...           4 months ago
  • 0.10.6                                ...           5 months ago
  • 0.10.2                                ...           6 months ago
  • 0.10.1                                ...           7 months ago
  • 0.10.0                                ...           7 months ago
  • 0.9.0                                ...           7 months ago
  • 0.2.2                                ...           10 months ago
  • 0.2.1                                ...           10 months ago
  • 0.2.0                                ...           10 months ago
  • 0.1.3                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago

Copyright 2014 - 2016 © taobao.org |