I have to draw a graph in LaTeX and I have to draw an edge from a node to a rectangle as seen here. (image description: there is a node on the left and a box on the right, with multiple straight lines going from the node to the box, all having different angles, the endpoints form a straight line)
I haven't found an answer yet and would rather avoid making a ton of small edges, especially since I need to make such an edge multiple times and in different directions. I am using tikz with calc library.
\documentclass{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage[ngerman]{babel}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{decorations.markings}
\begin{document}
\begin{tikzpicture}
%big box
\coordinate (lowleftbox) at (1,0);
\coordinate (uprightbox) at (9.5,10.5);
\draw[] (lowleftbox) rectangle (uprightbox);
%vertices
\coordinate (v1) at (0,5.5);
\coordinate (v2) at (0.5,5.5);
\fill (v1) circle[radius=3pt];
\fill (v2) circle[radius=3pt];
%edge between them
\draw[] (v1) to (v2);
%edge to box, manually, the code I want to improve
\draw[] (v2) to (1,5.5);
\draw[] (v2) to (1,5.6);
\draw[] (v2) to (1,5.7);
\draw[] (v2) to (1,5.8);
\draw[] (v2) to (1,5.9);
\draw[] (v2) to (1,6);
\draw[] (v2) to (1,5.4);
\draw[] (v2) to (1,5.3);
\draw[] (v2) to (1,5.2);
\draw[] (v2) to (1,5.1);
\draw[] (v2) to (1,5.0);
\end{tikzpicture}
\end{document}
I would be grateful for any tips regarding this. Thank you!