MCPcopy Index your code
hub / github.com/Little-Languages/quiver

github.com/Little-Languages/quiver @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
93 symbols 172 edges 15 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Quiver

Your quiver of arrows to declaratively render arrows in HTML. Connect an arrow to HTML elements via CSS selectors and this library will automatically track the movement and resizing of those elements and update the arrow accordingly. Your quiver comes with a growing number of types of arrows and the tools to easily create your own!

[!WARNING] This library is still in development. 🚧 It's not published to npm yet. Expect breaking changes in minor releases until things stabilize in 1.0. Use in production at your own risk.

Documentation is WIP, in the meantime check out the demos for how to use this library and to see the existing types of arrows in action.

Types of Arrows

  • Curved Arrows (powered by perfect-arrows)
  • S-curves (powered by curved-arrows)
  • Orthogonal Edges
  • Xanadu Links
  • Directed Hyperedges
  • Sets (undirected hyperedges)
  • Convex Hull

Extension points exported contracts — how you extend this code

Vertex (Interface)
(no doc)
src/convex-hull.ts
VisualObserverEntry (Interface)
(no doc)
src/vo.ts
VisualObserverCallback (Interface)
(no doc)
src/vo.ts
VisualObserverElement (Interface)
(no doc)
src/vo.ts

Core symbols most depended-on inside this repo

unobserve
called by 9
src/vo.ts
observe
called by 7
src/vo.ts
#appendEntry
called by 3
src/vo.ts
#refreshElement
called by 3
src/vo.ts
disconnect
called by 3
src/vo.ts
verticesToPolygon
called by 2
src/convex-hull.ts
computeInlineVertices
called by 2
src/xanadu-link.ts
#unobserveSource
called by 2
src/standoff.ts

Shape

Method 57
Class 28
Function 4
Interface 4

Languages

TypeScript100%

Modules by API surface

src/vo.ts12 symbols
src/abstract-hyper-arrow.ts12 symbols
src/abstract-arrow.ts10 symbols
src/abstract-set.ts9 symbols
src/standoff.ts8 symbols
src/convex-hull.ts7 symbols
demo/retargetable-arrow.ts6 symbols
src/s-curve.ts5 symbols
src/perfect-arrow.ts5 symbols
demo/draggable-box.ts5 symbols
src/xanadu-link.ts4 symbols
src/visual-observer.ts4 symbols

For agents

$ claude mcp add quiver \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact