line diagram what it is used