Skip to content

Welcome to netext

Netext is a graph (network) rendering library for the terminal. It uses the awesome rich library to format output and can use different layout engines to place nodes and edges. The library has a very simple API that can render graphs from plain node and edge data, and it integrates well with applications that use rich to output to the terminal. Optional networkx support is available via netext[networkx] for applications that already use networkx graphs. All styling and formatting is done via attributes of the nodes and edges. Netext also supports textual by providing a graph widget that can display graphs in widgets.