fix: Tooltip formatter for diagram widget (#165)