Skip to main content

Interactive Visualizer for T1C-IR Graphs

Project description

T1C-IR Logo

T1C-Viz - Interactive Visualization for T1C-IR Graphs

T1C-Viz generates beautiful, interactive HTML visualizations of T1C-IR computation graphs using D3.js and ELK for automatic layout. View your neural network architectures in Jupyter notebooks or export standalone HTML files.

T1C-Viz provides an intuitive way to explore and understand T1C-IR computation graphs, making it easier to debug, analyze, and document neuromorphic neural network architectures.

Read more about T1C-IR in our documentation

Installation

uv add t1c-viz@git+ssh://git@github.com:type1compute/t1cir.git

Or with Jupyter support:

uv add "t1c-viz[jupyter]@git+ssh://git@github.com:type1compute/t1cir.git"

Quick Start

from t1c import ir, viz

# Load a graph
graph = ir.read('model.t1c')

# Display interactively (opens browser or shows in Jupyter)
viz.visualize(graph, title="My SNN Model")

Display Methods

Browser Display

Outside Jupyter, opens in default browser:

viz.visualize(graph, title="My SNN Model")
# Output: Visualization written to: /tmp/t1c-viz/My_SNN_Model_xxx.html

Jupyter Display

In Jupyter notebooks, displays as embedded iframe:

viz.visualize(graph, title="My SNN", width=960, height=640)

Export to File

Save as standalone HTML:

path = viz.export_html(graph, "model.html", title="Production Model")
print(f"Saved to: {path}")

The HTML is self-contained - no server needed.

Features

Graph Visualization (Left Panel)

  • Dagre layout: Automatic hierarchical graph layout
  • SNN-specific styling: LIF neurons shown with distinctive spiking icon
  • Interactive: Pan, zoom, click nodes to inspect
  • Parameter display: Shows tau/theta on neuron nodes, kernel sizes on convolutions

Data Explorer (Right Panel)

  • HDF5 tree: Navigate graph structure
  • Array visualization: Heatmaps for weights, line plots for biases
  • Statistics: Min, max, mean, std for all arrays
  • Bidirectional sync: Click in tree to highlight node in graph

Node Colors

Primitive Color Description
Input Green Graph entry points
Output Red Graph exit points
Affine Blue Linear layers
SpikingAffine Purple Quantized affine with spike hints
LIF Cyan Leaky integrate-and-fire neurons
Conv2d Orange 2D convolution
SepConv2d Deep Orange Depthwise separable convolution
MaxPool2d Brown Max pooling
AvgPool2d Blue Grey Average pooling
Flatten Grey Reshape operations
Skip Yellow Residual/skip connections

Development

From the repo root (requires t1c-ir installed first):

uv pip install -e .
pytest tests/ -v

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

t1c_viz-0.0.2-cp313-cp313-win_amd64.whl (315.2 kB view details)

Uploaded CPython 3.13Windows x86-64

t1c_viz-0.0.2-cp313-cp313-win32.whl (278.0 kB view details)

Uploaded CPython 3.13Windows x86

t1c_viz-0.0.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

t1c_viz-0.0.2-cp313-cp313-macosx_11_0_arm64.whl (352.7 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

t1c_viz-0.0.2-cp312-cp312-win_amd64.whl (318.3 kB view details)

Uploaded CPython 3.12Windows x86-64

t1c_viz-0.0.2-cp312-cp312-win32.whl (279.4 kB view details)

Uploaded CPython 3.12Windows x86

t1c_viz-0.0.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

t1c_viz-0.0.2-cp312-cp312-macosx_11_0_arm64.whl (355.3 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

t1c_viz-0.0.2-cp311-cp311-win_amd64.whl (330.4 kB view details)

Uploaded CPython 3.11Windows x86-64

t1c_viz-0.0.2-cp311-cp311-win32.whl (287.7 kB view details)

Uploaded CPython 3.11Windows x86

t1c_viz-0.0.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

t1c_viz-0.0.2-cp311-cp311-macosx_11_0_arm64.whl (352.1 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

t1c_viz-0.0.2-cp310-cp310-win_amd64.whl (330.0 kB view details)

Uploaded CPython 3.10Windows x86-64

t1c_viz-0.0.2-cp310-cp310-win32.whl (289.1 kB view details)

Uploaded CPython 3.10Windows x86

t1c_viz-0.0.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

t1c_viz-0.0.2-cp310-cp310-macosx_11_0_arm64.whl (354.5 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file t1c_viz-0.0.2-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: t1c_viz-0.0.2-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 315.2 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for t1c_viz-0.0.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 02ccf15e441b664524dd52773738aad30d8f30afc4f017f0a4c28124c7d72278
MD5 ddaf8f7d732acd719adba9487ffedaaa
BLAKE2b-256 6867e5f6d1143f0fd64b8c8df19fdc2bf183987d8ce57be0e1050b649f282f95

See more details on using hashes here.

Provenance

The following attestation bundles were made for t1c_viz-0.0.2-cp313-cp313-win_amd64.whl:

Publisher: publish.yml on type1compute/t1cviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file t1c_viz-0.0.2-cp313-cp313-win32.whl.

File metadata

  • Download URL: t1c_viz-0.0.2-cp313-cp313-win32.whl
  • Upload date:
  • Size: 278.0 kB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for t1c_viz-0.0.2-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 45722366e15363288a73fcaf82d51fc2622b461f5eaa78eecff4c608dd27e33a
MD5 e375c4f0be51ff764171f5fc715b00d1
BLAKE2b-256 91d2a596f36e25f3d6f6f44c32f1659503c72e20303be3f2cfce87c0d0d2ee11

See more details on using hashes here.

Provenance

The following attestation bundles were made for t1c_viz-0.0.2-cp313-cp313-win32.whl:

Publisher: publish.yml on type1compute/t1cviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file t1c_viz-0.0.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for t1c_viz-0.0.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f496ae28d3c278a973de0f9e44db7920b5a75b68b2e859b0a16e3347810c4924
MD5 e74c54708c23c3d7fd35c18ab9943ea6
BLAKE2b-256 1e4990abd7f2d31ff504211a4a4da3ca1ae81e905c068490152b63b94fbf1c5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for t1c_viz-0.0.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on type1compute/t1cviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file t1c_viz-0.0.2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for t1c_viz-0.0.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 91190e202fb4fd75e419ce40eead2da18e7e53cb20a5a10a5e5cbcbf592c0024
MD5 2686083b1cffcb2ee996e4f32237beb5
BLAKE2b-256 404706550b837b27a8d4cba92df867f9aa29f1005a2e4017d81b1262df0f1dcd

See more details on using hashes here.

Provenance

The following attestation bundles were made for t1c_viz-0.0.2-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish.yml on type1compute/t1cviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file t1c_viz-0.0.2-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: t1c_viz-0.0.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 318.3 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for t1c_viz-0.0.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d668c9143fda1c92d118678bac3942d336184a56fcdd33553f6320362e93910e
MD5 4353d6eec34cd53ed9c4097e3bcf4d7c
BLAKE2b-256 1251b539b9f625def78e5ed195d5677bfec4db3be1b04c47c69e7211ade1b439

See more details on using hashes here.

Provenance

The following attestation bundles were made for t1c_viz-0.0.2-cp312-cp312-win_amd64.whl:

Publisher: publish.yml on type1compute/t1cviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file t1c_viz-0.0.2-cp312-cp312-win32.whl.

File metadata

  • Download URL: t1c_viz-0.0.2-cp312-cp312-win32.whl
  • Upload date:
  • Size: 279.4 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for t1c_viz-0.0.2-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 86b60b1851cdfae66f58aa3b95850f32dfd55ab11fab5065e0346055ec555cfb
MD5 ae455c3f524a6fed511ce56346c667e7
BLAKE2b-256 937a75ea872febc0b03b35f23386c9ddb21482d66d46bc81dcb78b7bad92b049

See more details on using hashes here.

Provenance

The following attestation bundles were made for t1c_viz-0.0.2-cp312-cp312-win32.whl:

Publisher: publish.yml on type1compute/t1cviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file t1c_viz-0.0.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for t1c_viz-0.0.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3242424d3289eaa7097695b9725a8687086b80aa5e72b919659b61102e2c2959
MD5 04fb9ca55a43f0eff4680d74d1cb58d6
BLAKE2b-256 39f560b71bc8ae071c6b0d3d36addbb49ac61c7ca9650b4749eab416644dc890

See more details on using hashes here.

Provenance

The following attestation bundles were made for t1c_viz-0.0.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on type1compute/t1cviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file t1c_viz-0.0.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for t1c_viz-0.0.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e03e9f9fa1b5c03913c4dc87a06ea8fef853fbfab666179279d11baad4431966
MD5 d65a4952dde423e296bd2964db1d49c6
BLAKE2b-256 097d65d999a5b7ee1c58306538c08ebf5d2d062838c312b64a1b3f28b5efd489

See more details on using hashes here.

Provenance

The following attestation bundles were made for t1c_viz-0.0.2-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish.yml on type1compute/t1cviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file t1c_viz-0.0.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: t1c_viz-0.0.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 330.4 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for t1c_viz-0.0.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7ed61daf0e22e494ca2d71d08d2e86fdcb7580fb67576487a15ff9f6e19d503a
MD5 f890a81f7ac84f59fabe907a8a7891f2
BLAKE2b-256 c64babe305bbad1c8655b09d26a53cbe40cc16c113967e4e15ce432bf180e5bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for t1c_viz-0.0.2-cp311-cp311-win_amd64.whl:

Publisher: publish.yml on type1compute/t1cviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file t1c_viz-0.0.2-cp311-cp311-win32.whl.

File metadata

  • Download URL: t1c_viz-0.0.2-cp311-cp311-win32.whl
  • Upload date:
  • Size: 287.7 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for t1c_viz-0.0.2-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 616b76c1fcc98a5237eca29af5e30fc72e14a995d0aa1c11c50c33f52b7742cb
MD5 39233070fdff65ebfddda1fd07ef1ce1
BLAKE2b-256 cf6ec493b3cc271a879eb4a13e27cd00b34dc38b62a625fa928d2eb34ab77aa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for t1c_viz-0.0.2-cp311-cp311-win32.whl:

Publisher: publish.yml on type1compute/t1cviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file t1c_viz-0.0.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for t1c_viz-0.0.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b7d66d86014cb87f2f0eaf9cc83af6194029eaf40dfa8bbc62e3ba15f0b837a5
MD5 a1336e3dbbbaca723d7ad26267636341
BLAKE2b-256 93dc2bda094f6ba5a4d4a1ea99a7886f3080837d0400bc78df26f567fd6178f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for t1c_viz-0.0.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on type1compute/t1cviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file t1c_viz-0.0.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for t1c_viz-0.0.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8a303a3929d42c1fdc05b744ce3862999fe2e8cde1e8f2402728bd7470a1696c
MD5 c1b4063cc67be1b74b52f035ab4473ea
BLAKE2b-256 1a8f0c8d24991b5e395f4634108a1a19412144ae7a002e35e98e9104ba4d1565

See more details on using hashes here.

Provenance

The following attestation bundles were made for t1c_viz-0.0.2-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish.yml on type1compute/t1cviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file t1c_viz-0.0.2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: t1c_viz-0.0.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 330.0 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for t1c_viz-0.0.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 38f896ba6eece588e3bf1cf01b4ee630e59980823636ee3e017a754688c14481
MD5 ffb7a4b020556feab7b36d5e007d80f8
BLAKE2b-256 0b675e6d9bdc700ef5ee7a76b1706e3c9a246d3a95e2ccd068a75869fe40ec1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for t1c_viz-0.0.2-cp310-cp310-win_amd64.whl:

Publisher: publish.yml on type1compute/t1cviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file t1c_viz-0.0.2-cp310-cp310-win32.whl.

File metadata

  • Download URL: t1c_viz-0.0.2-cp310-cp310-win32.whl
  • Upload date:
  • Size: 289.1 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for t1c_viz-0.0.2-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 c2a11cfc8191ae56a4beae0708c2539b7d255a387efa44555f6105998d6038c2
MD5 e48990657e5601ddc3091bd2d9772ff3
BLAKE2b-256 4efea6ca121194233db0a0adb89a46ea6ea775bb40e3dea93569a3191bf90d1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for t1c_viz-0.0.2-cp310-cp310-win32.whl:

Publisher: publish.yml on type1compute/t1cviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file t1c_viz-0.0.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for t1c_viz-0.0.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1f6cf397f33aeed39c19516dd65935d1f9f4e2deabdde569e7c29cae6b2cfa2f
MD5 1e570ec4e4a4e4039f6d3e94a2424126
BLAKE2b-256 857183e1f3812a4306e3beac674ae1ed733b700432f8835f2846a2861355796a

See more details on using hashes here.

Provenance

The following attestation bundles were made for t1c_viz-0.0.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on type1compute/t1cviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file t1c_viz-0.0.2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for t1c_viz-0.0.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ad05a5bcfc82ca8bda44bad542e838a8169692e131fefbf879ccfb30daf26951
MD5 cc5492a26b03b6983693d6a0819dee59
BLAKE2b-256 88b6cf9d1eed0463fd345ed5fc1898782fe05dabebf24465bf65d177e7296a68

See more details on using hashes here.

Provenance

The following attestation bundles were made for t1c_viz-0.0.2-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: publish.yml on type1compute/t1cviz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page