protected createVisual(context: IRenderContext, edge: IEdge): Visual | null {
const generalPath = this.getPath(edge)
const croppedGeneralPath = this.cropPath(
edge,
new Arrow(ArrowType.NONE),
new Arrow(ArrowType.NONE),
generalPath!
)
const path = croppedGeneralPath!.createSvgPath()
path.setAttribute('fill', 'none')
path.setAttribute('stroke', 'black')
path.setAttribute('stroke-width', '1')
return new SvgVisual(path)
}