UNPKG

@maxgraph/core

Version:

maxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.

30 lines (29 loc) 668 B
import type { Registry, ShapeConstructor } from '../../types.js'; /** * A registry that stores the {@link ShapeConstructor}s and their configuration. * * For adding new shapes you should use {@link ShapeRegistry.add}. * * Names generally used to register the built-in shapes: * - actor * - arrow * - arrow connector (for edges) * - cloud * - connector (for edges) * - cylinder * - double ellipse * - ellipse * - hexagon * - image * - label * - line (for edges) * - rectangle * - rhombus * - swimlane * - triangle * * @since 0.20.0 * @category Configuration * @category Shape */ export declare const ShapeRegistry: Registry<ShapeConstructor>;