The NewPedigree::savegraph() save a pedigree to a file as an adjacency list, which is a commonly-used format for describing digraphs. If the pedigree has already been converted to a digraph pass it using the pedgraph argument; otherwise, the method will call the appropriate converter:
This example demonstrates that there can be a considerable loss of information when going from a PyPedal pedigree to some other way of representing the pedigree, such as a graph.
A Manual for use of PyPedal
A software package for pedigree analysis