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