Download: the single file kinopt-vis-<version>.html from the latest release
(open it from disk; no server, no network). Demo: https://biovisforge.github.io/kinopt-vis/ (KinOpt's synthetic example).
kinopt-vis is an offline, single-file viewer for KinOpt run bundles: kinase–substrate network optimisation (kinase activities, α/β weights, contributions, knockouts). It is built the same way as phoskintime-vis: same framework, structure, UI and layout, so the three viewers feel like one family.
KinOpt run ──▶ run bundle (<run>.kinopt/ or <run>.kinopt.zip) ──▶ kinopt-vis (in the browser, offline)
manifest.json + tables/*.parquet + arrays/*.npy + provenance/ + resim/
- Producer: KinOpt writes the run bundle.
- Contract: the bundle is validated against
contracts/kinopt/<version>/(manifest.schema.json,tables.json), published by KinOpt. Null means missing, never 0. - Stack (as phoskintime-vis): Svelte 5, SveltePlot, Vite; built into one offline HTML file; ajv (schema validation), fflate (zip), hyparquet (Parquet), jsPDF + svg2pdf.js (vector PDF).
- Verification before opening (sha256, sizes, contract columns, dtypes, nullability); a failing bundle is refused, with an explicit "Open unverified".
- 49 panels in eight sections (Inputs & coverage, Fit quality, Kinase activities, α / β weights, Contributions & knockouts, Network, Starts & identifiability, Diagnostics), covering every figure KinOpt's former app and scripts drew (plotting audit).
- The KinOpt model recomputed in the browser, parity-tested against KinOpt 0.11.0: what-if knockouts and edits, the control DAG for any protein.
- Run comparison, exports (PNG, SVG, PDF, CSV, TikZ) with provenance, themes, command palette, keyboard access.
- LaTeX-ready TikZ / PGFPlots export of every plot panel, laid out for the journal column, page or slide you choose.
Design: docs/design/MAPPING.md. The contract is vendored from KinOpt's v0.11.0 release tag.
npm ci
npm run build:single # dist-single/index.html: open it from disk, no server, no network
npm run dev # development server
npm test # unit tests (vitest)
npm run test:parity # the in-browser model against KinOpt's own output
npm run build # Pages build with the demo bundles (dist/)
npm run test:e2e # Playwright, Chromium + Firefox, against the single file and the Pages build (build both first)
npm run lint && npm run checkTest fixtures are written by KinOpt itself on its synthetic example (no real data):
pip install -r tests/requirements-fixtures.txt && python tests/fixtures/make_fixtures.py
(see tests/fixtures/SOURCE.md). Code adapted from phoskintime-vis is listed in
NOTICE.
See CONTRIBUTING.md, CODE_OF_CONDUCT.md and SECURITY.md. Questions: SUPPORT.md.
See CITATION.cff.
BSD-3-Clause, see LICENSE.