Canvas.node.graph
A JavaScript langage port of NodeBox Graph using Canvas
Install / Use
/learn @dantman/Canvas.node.graphREADME
canvas.node.graph is a JavaScript language port of the python NodeBox Graph library by Tom De Smedt.
The NodeBox Graph library includes algorithms from the python NetworkX library for betweenness centrality and eigenvector centrality, Connelly Barnes' implementation of Dijksta shortest paths and the spring layout for JavaScript by Aslak Hellesoy and Dave Hoover. So likewise this JavaScript port does as well (cept the implementations are ports of the originals like the library is).
Generally canvas.node works the same as NodeBox Graph, and uses an almost identical api to make use of it. Parts of the code structure of course are different as JavaScript has a different structure than python and different practices.
canvas.node is dual-licensed under the MIT and GPL version 2 or later licenses to promote flexible re-use and openness. We're on github so feel free to use github's fork feature to let you add features to the code and submit them back to the project using pull requests.
Related Skills
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
