change edgeType in Node
change graph building to adapt new ray style