Skip to main content

Home > @jsplumb/core > EndpointFactory

EndpointFactory variable#

Signature:

EndpointFactory: {    get: (ep: Endpoint<any>, name: string, params: any) => EndpointRepresentation<any>;    clone: <C>(epr: EndpointRepresentation<C>) => EndpointRepresentation<C>;    compute: <T>(endpoint: EndpointRepresentation<T>, anchorPoint: AnchorPlacement, orientation: [number, number], endpointStyle: any) => T;    registerHandler: <E, T>(eph: EndpointHandler<E, T>) => void;}