🌜
🌞
@antv/x6-vue-shape

@antv/x6-vue-shape

v1.4.0

X6 shape for rendering vue components.

npm install @antv/x6-vue-shape

README

@antv/x6-vue-shape

x6 shape for rendering vue components

Installation

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

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

Usage

import { Graph } from '@antv/x6'
import '@antv/x6-vue-shape'
import HelloWord from './HelloWord.vue'

// render
graph.addNode({
  shape: 'vue-shape',
  x: 32,
  y: 48,
  width: 180,
  height: 40,
  component: {
    template: `<hello-world :name="name"></hello-world>`,
    data() {
      return {
        name: 'x6',
      }
    },
    components: {
      HelloWorld,
    }
  },
})

General

License
MIT
Typescript Types
Built-in
Tree-shakeable
Yes

Popularity

GitHub Stargazers
3,834
Community Interest
3,213
Number of Forks
1,216

Maintenance

Commits
11/2110/220150
Last Commit
Open Issues
135
Closed Issues
1,401
Open Pull Requests
1
Closed Pull Requests
81

Versions

Versions Released
11/2110/2202
Latest Version Released
May 9, 2022
Current Tags
latest1.4.0
beta2.0.1-beta.5

Contributors

bubkoo
bubkoo
Commits: 1,895
NewByVector
NewByVector
Commits: 315
semantic-release-bot
semantic-release-bot
Commits: 309
afc163
afc163
Commits: 14
wtzeng1
wtzeng1
Commits: 12
OpportunityLiu
OpportunityLiu
Commits: 4
Eve-Sama
Eve-Sama
Commits: 4
zdc1111
zdc1111
Commits: 4
qianjujie
qianjujie
Commits: 3
yangling1996
yangling1996
Commits: 2
sscfaith
sscfaith
Commits: 2
lvhuiyang
lvhuiyang
Commits: 2
xrkffgg
xrkffgg
Commits: 2
daigang666
daigang666
Commits: 2
lyn-boyu
lyn-boyu
Commits: 2