diff --git a/src/pointlinejs/vendor/treant/Treant.ts b/src/pointlinejs/vendor/treant/Treant.ts index b15c2d1..1c4bd68 100644 --- a/src/pointlinejs/vendor/treant/Treant.ts +++ b/src/pointlinejs/vendor/treant/Treant.ts @@ -101,13 +101,15 @@ export type RaphaelAttributesExtended = Partial & { 'arrow-start'?: string; }; +export type ConnectorTypeValues = 'curve' | 'bCurve' | 'step' | 'straight'; + export type ConnectorType = { /** * type defines which type of connector line should be drawn between a parent node and its children. Several possibilities are available, their appearance is the following: * * ![connector-types](/documentation/images/connector-types.png) */ - type: 'curve' | 'bCurve' | 'step' | 'straight'; + type: ConnectorTypeValues; /** * style parameter requires you to define an object. * Its definition can be found at [RaphaelJS documentation](https://dmitrybaranovskiy.github.io/raphael/reference.html#Element.attr) under possible parameters section.