How can i make a line-diagram?