`PhyloChart` takes a graph instead of a solver.