Trying to find a widget that I can use in the Web AppBuilder to calculate the slope of a line between point A and point B on a map. I've got the Elevation Profile widget working (it's great) but I actually need the slope angle.
Elevation Profile Widget uses GP service to compute profile, you would have to modify GP service to allow slope calculations as an additional attribute.
Slope calculation can probably done in 3D 4.x ESRI API :