Get an elbow set by name.
You can mix and match sets. For example if you need a set of elbows for a box where all borders are thin lines except the bottom which is a thick line, you could:
import {Draw} from 'effect-tree'const myElbowSet: Draw.ElbowSet = { ...Struct.pick(Draw.elbowSet('thin'), ...Draw.topElbows), ...Struct.pick(Draw.elbowSet('hThick'), ...Draw.bottomElbows),} Copy
import {Draw} from 'effect-tree'const myElbowSet: Draw.ElbowSet = { ...Struct.pick(Draw.elbowSet('thin'), ...Draw.topElbows), ...Struct.pick(Draw.elbowSet('hThick'), ...Draw.bottomElbows),}
And your elbows will be thin, except for the bottom:
topLeft ┌ ┐ topRight bottomLeft ┕ ┙ bottomRight Copy
topLeft ┌ ┐ topRight bottomLeft ┕ ┙ bottomRight
Get an elbow set by name.
You can mix and match sets. For example if you need a set of elbows for a box where all borders are thin lines except the bottom which is a thick line, you could:
And your elbows will be thin, except for the bottom: