Degree unit functions for node orientation (Issue #57)