# A universal tool for visualisation of networks and trees in Python

**Authors:** Fabio Zanini, Valeria Velásquez-Zapata, Adam L Tyson

PMC · DOI: 10.12688/f1000research.173131.1 · F1000Research · 2025-12-09

## TL;DR

iplotx is a Python tool that provides a universal and customizable way to visualize networks and trees across various scientific fields.

## Contribution

iplotx introduces a universal visualizer with rich styling and interoperability for multiple network analysis packages.

## Key findings

- iplotx supports eight network and tree analysis packages with a plug-in mechanism for universal input compatibility.
- The package enables three-dimensional network visualizations and integrates with the Python scientific software stack.
- iplotx offers broader interoperability and richer styling compared to existing software.

## Abstract

Graphs or networks are ubiquitous data structures across scientific disciplines, from ecological and molecular to social networks. Visualisation is an important step to gain insight into network data, however most network analysis software packages, such as
igraph and
NetworkX, focus on statistical tools and offer limited visualisation options. Other packages offer powerful graphical user interfaces but rely on custom formats and implementations, which restricts interoperability with other scientific software.

iplotx is a Python software package designed to act as a universal visualiser for any network analysis package. A simple yet rich declarative style grammar enables customisation of any visual element including edge geometry, marker size and shape, labels, and groupings. Rendering relies on custom Matplotlib artists, which enables broad interoperability with other data visualisation libraries.

iplotx supports eight different network and tree analysis packages (NetworkX, igraph, graph tool, Biopython, ETE, cogent3, dendropy, and scikit-bio) and implements a plug-in mechanism for universal input compatibility. It supports a wide spectrum of outputs including raster and vector images, animations, and interactive plots. The package implements unique features such as three-dimensional network visualisations and is fully compatible with the Python scientific software stack including seaborn, scipy, pandas, and Cartopy. Areas of application for
iplotx include biomolecular and gene regulatory networks, protein-protein interactions, biochemical pathways, ecological networks, phylogenetics, and extend beyond biomedicine into economics, social, and transportation sciences.

Compared to extant software,
iplotx offers broader interoperability, richer styling, a large gallery of examples, and extensive code testing. This makes
iplotx a robust choice for the visualisation of any networks and trees in biomedicine and beyond.

## Full-text entities

- **Diseases:** breast cancer (MESH:D001943), cancer (MESH:D009369)
- **Chemicals:** citric acid (MESH:D019343), iplotx (-)
- **Species:** Homo sapiens (human, species) [taxon 9606], Mus musculus (house mouse, species) [taxon 10090], Escherichia coli (E. coli, species) [taxon 562]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12946695/full.md

## Figures

3 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12946695/full.md

## References

32 references — full list in the complete paper: https://tomesphere.com/paper/PMC12946695/full.md

---
Source: https://tomesphere.com/paper/PMC12946695