Hi guys! This is my first post!
Here I show you a simple node that uses an algorithm to calculate the transformation matrix aligned to two locator. The node has a couple inputs data: the locators position, and one output data: the matrix that can be applied to any transform node. In this example, i connected a node in maya decomposeMatrix to verify that the calculation in the node was right.