Added functionality for instantiating graphs with node literals