We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 823530d commit 705a8e0Copy full SHA for 705a8e0
packages/perseus/src/widgets/interactive-graphs/reducer/initialize-graph-state.ts
@@ -321,11 +321,11 @@ export function getVectorCoords(
321
return graph.startCoords;
322
}
323
324
- // Default: diagonal vector in the upper portion of the graph,
325
- // offset from axes so it's clearly visible.
+ // Default: 45° diagonal vector in the upper-right area of the graph.
+ // Equal x/y offsets ensure a true 45° angle on a square grid.
326
return normalizePoints(range, step, [
327
- [0.25, 0.55],
328
- [0.75, 0.75],
+ [0.6, 0.6],
+ [0.85, 0.85],
329
]);
330
331
0 commit comments