added graph_tool support