UNPKG

@antv/x6

Version:

JavaScript diagramming library that uses SVG and HTML for rendering.

12 lines (10 loc) 204 B
import { createShape, getImageUrlHook } from './util' export const Image = createShape('image', { attrs: { text: { refY: null, refDy: 16, }, }, propHooks: getImageUrlHook(), })