also export constructors of nodes and edges