A Multi-level Marketing (MLM) Engine allows compensation to be easily calculated despite the complex hierarchy of a sales network.
In John Weeler’s first part of Build[ing] an MLM Engine with Neo4j and MassPay, he covers multi-level marketing and how the structure best fits within a graph.
![](http://dist.neo4j.com/wp-content/uploads/2011/09/2138_figure2.png)
He dives into building an MLM engine, then explains traversing the graph within the engine.
![](http://dist.neo4j.com/wp-content/uploads/2011/09/2137_figure3.png)
He concludes by giving us a sneak peaks as to what to expect from the second part of the blog series:
. We love posts like these that show how graphs solve our complex and connected challenges.