[build] graph builder: function creator