MCPcopy Index your code
hub / github.com/bizweekgraphics/swoopyarrows

github.com/bizweekgraphics/swoopyarrows @v0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1 ↗ · + Follow
7 symbols 12 edges 1 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

swoopyarrows.js

Finally an open source project to match the scope of our ambition! swoopyarrows.js makes swoopy arrows between things. It currently depends on D3 and returns a closure vaguely akin to the d3.svg.axis() object, except sloppier and more confused.

# swoopyArrow()

Create a new default swoopy arrow object.

# swoopyArrow.from([element])
# swoopyArrow.to([element])

Get or set where to draw the arrow from and to, in any of four forms (in any mix): - a DOM element: document.getElementById("hed") - a jQuery element: $("#hed") - a D3 element: d3.select("#hed") - a coordinate array [x,y]: [100,200]

# swoopyArrow.degrees([degrees])

Get or set the angle which the arc of the arrow will subtend. - 90 for a gentle arc, 180 for a bigger swoop. - Beyond 180, it gets gentler again, because of the way SVG computes arc. - Pass 0 or 360 for a straight arrow.

# swoopyArrow.clockwise([boolean])

Get or set boolean determining whether arrow will swoop clockwise (true) or counterclockwise (false).


Welp, that's it for now! Feel free to check out our many issues and laugh in my face.

Swoopy arrows have been in use since Egyptian hieroglyphics. They belong to no one ↪↺↷⟲⤣⤥⤴⤵⤶⤷⤹⤳⤻⤿⤺

Jennifer Daniel, patron saint

Core symbols most depended-on inside this repo

hypotenuse
called by 4
swoopyarrows.js
getDOMElement
called by 2
swoopyarrows.js
getCorners
called by 2
swoopyarrows.js
edgesToCorners
called by 1
swoopyarrows.js
loadMarker
called by 1
swoopyarrows.js
swoopyArrow
called by 0
swoopyarrows.js
arrow
called by 0
swoopyarrows.js

Shape

Function 7

Languages

TypeScript100%

Modules by API surface

swoopyarrows.js7 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page