Consider a complete graph. Let $D_E$ be the set of all edges lengths (one may see it as simply the Euclidean distances between any two vertices, where I'm naturally considering straight edges). For a graph of size $n$, we have $n(n-1)/2$ such edges, thus lengths.
Apart from rotations and reflections, is the complete graph uniquely defined for any given $n$? I feel the answer should be yes, and it's relatively easy to see in small cases. But how should I argue regarding bigger values of $n$? Maybe by induction?
If yes, what is the minimum amount of straight edge lengths we need to have in order for the graph to be uniquely defined under the same considerations?
user21820's count of $2n-2$ lengths is indeed optimal, provided $n$ is large enough.
Consider being the one responsible for locating the vertices $\{V_i= (x_i, y_i)\}_{i=1}^n$ from the lengths given. If they are not all colinear, we can assume WLOG that $V_3$ does not lie on $\overleftrightarrow {V_1V_2}$. Since we can only identify the locations up to a rigid motion, we can arbitrarily choose these three equations to hold: $$x_1 = 0\\y_1 = 0\\y_2 = 0$$
Now there will be exactly four solutions, depending on whether $V_2$ lies on the positive or negative $x$-axis, and whether $V_3$ is in the upper or lower half-plane.
This leaves us with $2n-3$ degrees of freedom among the $x_i, y_i$ that must be determined. Each length we are given is a quadratic equation of the form $$(x_i - x_j)^2 + (y_i - y_j)^2 = d_{ij}^2$$ The equation removes 1 degree of freedom, but provides two possible values for the determined variable.
Thus it will require $2n-3$ equations (i.e., lengths) to remove all the degrees of freedom. But at that point, we can have $2^{2n-3}$ solutions (less if any of the lengths are for vertical or horizontal edges - but there will be at least some figures where other than $V_1V_2$ this does not occur). Therefore when $n$ is large enough, we get too many solutions, and at least one more more bit of information is necessary to distinguish between them. Thus in general we will need at least $2n-2$ lengths to fully specify the figure.
In special cases (low $n$ or colinear vertices) it may be possible to specify the figure with fewer lengths. A triangle requires only $3$ lengths, and a quadrilateral requires $5$. But I believe a hexagon cannot be specified with fewer than $8$ lengths.