add transpose and graph-copy to gen:graph