Get Started
User Guide
API Reference
Model Tutorials
Developer Notes
Misc
DGLGraph.
get_ntype_id
Return the ID of the given node type.
ntype can also be None. If so, there should be only one node type in the graph.
ntype (str) – Node type
int