added typedefs for node fanin/fanouts