add support for different types of graphs