NodeSpec
NodeSpec
Bases: BaseConfig
Specification for selecting nodes in a graph query.
NodeSpec
Bases: BaseConfig
Specification for selecting nodes in a graph query.
node_type = Field(None, description='The type of nodes to select.')
class-attribute
instance-attribute
all_node_types = Field(False, description='If True, nodes of all types will be returned, and the value of `node_type` will be ignored.')
class-attribute
instance-attribute
node_alias = Field('e', description='Alias for the node.')
class-attribute
instance-attribute
filter_expression = Field(None, description='A string defining filtering logic for the node selection.')
class-attribute
instance-attribute
return_attributes = Field(None, description='List of attributes to include in the output.')
class-attribute
instance-attribute
limit = Field(None, description='Maximum number of nodes to select.')
class-attribute
instance-attribute