import "Simantics/DB" importJava "org.simantics.diagram.elements.ElementTransforms" where rotateToNeighborSlope :: Resource -> Double