This will require coming up with realization algorithms for directed and undirected bipartite graphs.