Adds possibility of passing node properties when creating graph
Example that works with current version