effect-tree
    Preparing search index...

    Variable getGlyphConst

    getGlyph: (
        theme: Draw.Theme,
    ) => (
        role:
            | "tee"
            | "rightTee"
            | "elbow"
            | "hLine"
            | "vLine"
            | "indent"
            | "space"
            | "rootBullet"
            | "branchBullet"
            | "leafBullet",
    ) => string = ...

    Get from the theme the glyph associated with a GlyphRole.

    Type Declaration

      • (
            theme: Draw.Theme,
        ): (
            role:
                | "tee"
                | "rightTee"
                | "elbow"
                | "hLine"
                | "vLine"
                | "indent"
                | "space"
                | "rootBullet"
                | "branchBullet"
                | "leafBullet",
        ) => string
      • Parameters

        Returns (
            role:
                | "tee"
                | "rightTee"
                | "elbow"
                | "hLine"
                | "vLine"
                | "indent"
                | "space"
                | "rootBullet"
                | "branchBullet"
                | "leafBullet",
        ) => string

        The correct glyph.

          • (
                role:
                    | "tee"
                    | "rightTee"
                    | "elbow"
                    | "hLine"
                    | "vLine"
                    | "indent"
                    | "space"
                    | "rootBullet"
                    | "branchBullet"
                    | "leafBullet",
            ): string
          • The GlyphRole required.

            Parameters

            • role:
                  | "tee"
                  | "rightTee"
                  | "elbow"
                  | "hLine"
                  | "vLine"
                  | "indent"
                  | "space"
                  | "rootBullet"
                  | "branchBullet"
                  | "leafBullet"

            Returns string