In Node Editor, why is the RGB Curve Node different?
The first image is from the material nodes.

The second is from the compositor nodes.


The curve editor in the Compositor works differently, it has additional controls to determine the ranges for the curve.
From the Blender Manual:

Black Level
Defines the input color that is (linear) mapped to black.
White Level
Defines the input color that is (linear) mapped to white