effect-tree
    Preparing search index...

    Function elbowSet

    • 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),
      }

      And your elbows will be thin, except for the bottom:

         topLeft ┌ ┐ topRight
      
      bottomLeft ┕ ┙ bottomRight
      

      Parameters

      • name:
            | "ascii"
            | "diagonal"
            | "double"
            | "halfSolid"
            | "halfSolidNear"
            | "halfSolidFar"
            | "hDouble"
            | "hThick"
            | "round"
            | "solid"
            | "space"
            | "thick"
            | "thin"
            | "vDouble"
            | "vThick"

      Returns ElbowSet