Control sine graphmapper via number slider

I have sine graph mapper that control points through line. now I want to know if there any option that I could change the number of min points/ number of sine graph via number slider? attached image of what I’m trying to do.

The graph mapper does not allow very precise control of the sine wave. It is better to use an actual sine expression (in the “expression” component) Then you can set the amplitude and period/frequency of the graph mathematically, rather than visually: