Skip to main content

Table-based network visualizer

Project description

Tabnetviz - table-based network visualizer

Tabnetviz generates network visualizations from node and edge properties provided in tables. The node and edge properties can be mapped to visual attributes in several ways. Tabnetviz was inspired by the popular Cytoscape program which can also generate similar mappings. However, Cytoscape is a resource-intensive, interactive Java program with a complex graphical interface, and loading networks from tables and defining mappings can be cumbersome in it. Tabnetviz, on the other hand, is a non-interactive, lightweight command-line tool guided by a single text-based configuration file, thus ideal for use in scripts, Makefiles, and reproducible workflows. Once a configuration file has been developed, it only takes a single command to generate the network visualization (typically an SVG file), and to quickly regenerate it whenever the input data changes.

Tabnetviz generates static network visualizations, and is applicable in a wide range of fields such as bioinformatics (for gene regulatory networks, protein interaction networks, etc.), neuroscience, and studies of social networks, computer networks, economic networks, etc.

An example visualization generated by Tabnetviz:

network

The Tabnetviz configuration file is a YAML format text file, which is easily written manually, and easy to understand. It specifies the node table and the edge table for the network (both can be CSV, TSV, or Excel files), and defines how to map the node and edge properties (provided in node and edge table columns) to visual attributes such as colors, node sizes, shapes, line widths, etc. Node groups and edge groups can also be defined (using Boolean expressions on the node/edge properties), and the mappings can be applied to them.

Tabnetviz is a Python program, and uses Graphviz as its network visualization back-end, and can use any node, edge, and graph attribute known to Graphviz. It also uses Graphviz for generating network layouts. Relying on the power of Graphviz, Tabnetviz can generate high-quality images suitable as illustrations for science publications.

As a bonus, Tabnetviz can optionally calculate numerous graph theoretical quantities such as degrees, centralities, clustering coefficients, etc. These are added to the node/edge table, and can then be mapped to visual attributes, e.g. node sizes or colors.

See the Tabnetviz home page for documentation.

Project details


Download files

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

Source Distribution

tabnetviz-1.3.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

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

tabnetviz-1.3-py3-none-any.whl (34.7 kB view details)

Uploaded Python 3

File details

Details for the file tabnetviz-1.3.tar.gz.

File metadata

  • Download URL: tabnetviz-1.3.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.2

File hashes

Hashes for tabnetviz-1.3.tar.gz
Algorithm Hash digest
SHA256 502df98256e379744b15fac9698f199cc970a0ac2857d812dd18bab484b3b7f8
MD5 790223e985885513d5530f90631c2670
BLAKE2b-256 20623ec697f5b376e8ccae25bd5689934a99ee6ee4975f5a6cfbd9d738f6a116

See more details on using hashes here.

File details

Details for the file tabnetviz-1.3-py3-none-any.whl.

File metadata

  • Download URL: tabnetviz-1.3-py3-none-any.whl
  • Upload date:
  • Size: 34.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.2

File hashes

Hashes for tabnetviz-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 145f2d5fd6a73218110a1cff4e1be72785df6dea2b48177d2f0f8ae3faf37f2f
MD5 5c80736099f33cc3a7e7985b3ed2755e
BLAKE2b-256 3a96aaae0f08c867d5275dfa6e60d820284b4ecc3aad5ce1025cb3a38b2e5cff

See more details on using hashes here.

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