UNPKG

@antv/x6

Version:

JavaScript diagramming library that uses SVG and HTML for rendering.

14 lines 339 B
import { getImageUrlHook } from '../basic/util'; import { createShape } from './util'; export const Image = createShape('image', { attrs: { image: { refWidth: '100%', refHeight: '100%', }, }, propHooks: getImageUrlHook(), }, { selector: 'image', }); //# sourceMappingURL=image.js.map