UNPKG

@antv/x6

Version:

JavaScript diagramming library that uses SVG and HTML for rendering.

11 lines (9 loc) 154 B
import { createShape } from './util' export const Rect = createShape('rect', { attrs: { rect: { width: 100, height: 60, }, }, })