UNPKG

@reactodia/workspace

Version:

Reactodia Workspace -- library for visual interaction with graphs in a form of a diagram.

21 lines 1.1 kB
import * as React from 'react'; import type { LinkTemplate, LinkTemplateProps } from '../diagram/customization'; import { type LinkLabelProps } from '../diagram/linkLayer'; export declare const StandardLinkTemplate: LinkTemplate; export declare const DefaultLinkTemplate: LinkTemplate; export interface StandardRelationProps extends LinkTemplateProps { className?: string; pathProps?: React.SVGAttributes<SVGPathElement>; primaryLabelProps?: StandardRelationLabelStyle; propertyLabelProps?: StandardRelationLabelStyle; propertyLabelStartLine?: number; prependLabels?: React.ReactNode; children?: React.ReactNode; } type StandardRelationLabelStyle = Omit<LinkLabelProps, 'primary' | 'link' | 'position' | 'line' | 'children'>; export declare function StandardRelation(props: StandardRelationProps): import("react/jsx-runtime").JSX.Element; export interface DefaultLinkProps extends StandardRelationProps { } export declare function DefaultLink(props: StandardRelationProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=standardLink.d.ts.map