Pipe slop detail element

Hi everyone i am trying to create the dynamo script to placing the arrow tag detail element for find the slop of the pipe . Any one have the script for that

Hello and welcome to the dynamo forum…Could you show your graph so far ?

Sure