@antv/x6
Version:
JavaScript diagramming library that uses SVG and HTML for rendering.
22 lines (21 loc) • 632 B
TypeScript
import { Markup } from '../../view/markup';
import { Node } from '../../model/node';
import { Base } from '../base';
export declare function getMarkup(tagName: string, selector?: string): Markup;
export declare const bodyAttr: {
fill: string;
stroke: string;
strokeWidth: number;
};
export declare const labelAttr: {
fontSize: number;
fill: string;
refX: string;
refY: string;
textAnchor: string;
textVerticalAnchor: string;
};
export declare function createShape(shape: string, config: Node.Config, options?: {
selector?: string;
parent?: Node.Definition | typeof Base;
}): typeof Base;