Worked out most of the first structure
Add direction correction to edges
Add a graph-mapped and 3d-mapped example