dist graph