UNPKG

@antv/x6

Version:

JavaScript diagramming library that uses SVG and HTML for rendering

10 lines (8 loc) 190 B
import { Base } from './base' import { Poly } from './poly' import { createShape } from './util' export const Polygon = createShape( 'polygon', {}, { parent: Poly as typeof Base }, )