Floor span direction rotation

Hi,
I’m wondering if there’s a way to rotate floor span direction in dynamo. I’ve found a topic showing how to read vector of the direction, here: Floor span direction Maybe there’s similar way to rotate or align it?