fix(graph): legend spacing
fix(graph): show proper message when no connection is available and show direction dropdown in the same case