Figure 2
From: Extended Newick: it is time for a standard representation of phylogenetic networks

Obtaining the extended Newick description of a phylogenetic network. The phylogenetic network with two hybrid nodes of Figure 1 can be transformed into a phylogenetic tree with two replicated nodes (top), which can then be traversed in postorder to obtain the extended Newick description of the phylogenetic network (bottom).