dgl.DGLGraph.register_message_func

DGLGraph.register_message_func(func)

Deprecated: please directly call update_all() with func as argument.