Very crude impl for graph visualization.