export default { triangle : ( width = 10 , length = 15 , d = 0 ) => { const begin = d * 2 ; const path = `M ${ begin },0 L ${ begin + length },-${ width / 2 } L ${ begin + length },${ width / 2 } Z` ; return path ; } , vee : ( width = 15 , length = 20 , d = 0 ) => { const begin = d * 2 ; const path = `M ${ begin },0 L ${ begin + length },-${ width / 2 }
        L ${ begin + ( 2 * length ) / 3 },0 L ${ begin + length },${ width / 2 } Z` ; return path ; } , circle : ( r = 5 , d = 0 ) => { const begin = d * 2 ; const path = `M ${ begin }, 0
            a ${ r },${ r } 0 1,0 ${ r * 2 },0
            a ${ r },${ r } 0 1,0 ${ - r * 2 },0` ; return path ; } , rect : ( width = 10 , length = 10 , d = 0 ) => { const begin = d * 2 ; const path = `M ${ begin },${ - width / 2 } 
        L ${ begin + length },${ - width / 2 } 
        L ${ begin + length },${ width / 2 } 
        L ${ begin },${ width / 2 } Z` ; return path ; } , diamond : ( width = 15 , length = 15 , d = 0 ) => { const begin = d * 2 ; const path = `M ${ begin },0 
        L ${ begin + length / 2 },${ - width / 2 } 
        L ${ begin + length },0 
        L ${ begin + length / 2 },${ width / 2 } Z` ; return path ; } , triangleRect : ( tWidth = 15 , tLength = 15 , rWidth = 15 , rLength = 3 , gap = 5 , d = 0 ) => { const begin = d * 2 ; const rectBegin = begin + tLength + gap ; const path = `M ${ begin },0 L ${ begin + tLength },-${ tWidth / 2 } L ${ begin + tLength },${ tWidth / 2 } Z
            M ${ rectBegin }, -${ rWidth / 2 }
            L ${ rectBegin + rLength } -${ rWidth / 2 }
            L ${ rectBegin + rLength } ${ rWidth / 2 }
            L ${ rectBegin } ${ rWidth / 2 }
            Z` ; return path ; } , } ;