Fixed graph visualization when no label is present