# Drawing¶

## Edge activity plots¶

The visualization of temporal networks is an area of active research. tacoma’s contribution is a so-called edge activity plot, where edges are attributed to an integer id, sorted for their order of appearance. Then, each edge is drawn as a bar for the duration of its existence (active time periods, respectively). This is closely related to the representation of a temporal network as a list of active intervals, _tacoma.edge_trajectories. The function to draw edge activity plots is _tacoma.edge_activity_plot().

Here’s some example code

import os
import tacoma as tc

from tacoma.drawing import edge_activity_plot
import matplotlib.pyplot as pl

if not os.path.exists('~/.tacoma/hs13.taco'):
else: