qsoft-x6-materials-six
Version:
qsoft-x6-materials
86 lines (85 loc) • 2.64 kB
TypeScript
/// <reference types="react" />
import { Node } from '@antv/x6';
declare const CustomNode: () => {
width: number;
height: number;
shape: string;
ports: {
groups: {
top: {
position: string;
attrs: {
circle: {
r: number;
magnet: boolean;
stroke: string;
strokeWidth: number;
fill: string;
style: {
visibility: string;
opacity: string;
};
};
};
zIndex: number;
};
right: {
position: string;
attrs: {
circle: {
r: number;
magnet: boolean;
stroke: string;
strokeWidth: number;
fill: string;
style: {
visibility: string;
opacity: string;
};
};
};
zIndex: number;
};
bottom: {
position: string;
attrs: {
circle: {
r: number;
magnet: boolean;
stroke: string;
strokeWidth: number;
fill: string;
style: {
visibility: string;
opacity: string;
};
};
};
zIndex: number;
};
left: {
position: string;
attrs: {
circle: {
r: number;
magnet: boolean;
stroke: string;
strokeWidth: number;
fill: string;
style: {
visibility: string;
opacity: string;
};
};
};
zIndex: number;
};
};
items: {
id: string;
group: string;
}[];
};
component(node: Node): JSX.Element;
};
export default CustomNode;