g3-toolkit API Reference
    Preparing search index...

    Function shapeForIndex

    • Get the shape for a node type index (wraps around).

      Parameters

      • index: number

      Returns
          | "ellipse"
          | "rectangle"
          | "diamond"
          | "hexagon"
          | "triangle"
          | "star"
          | "round-rectangle"
          | "barrel"