GFQL Edge Matchers#

e_forward#

graphistry.compute.ast.e_forward = <class 'graphistry.compute.ast.ASTEdgeForward'>#

Internal, not intended for use outside of this module.

Parameters:
  • edge_match (dict | None)

  • hops (int | None)

  • source_node_match (dict | None)

  • destination_node_match (dict | None)

  • to_fixed_point (bool)

  • name (str | None)

  • source_node_query (str | None)

  • destination_node_query (str | None)

  • edge_query (str | None)

e_forward

Primary alias for the graphistry.compute.ast.ASTEdgeForward class.

Note

While e_forward is the preferred alias for this class, the methods and attributes are defined under graphistry.compute.ast.ASTEdgeForward.

class graphistry.compute.ast.ASTEdgeForward(edge_match=None, hops=1, source_node_match=None, destination_node_match=None, to_fixed_point=False, name=None, source_node_query=None, destination_node_query=None, edge_query=None)#

Bases: ASTEdge

Internal, not intended for use outside of this module.

Parameters:
  • edge_match (dict | None)

  • hops (int | None)

  • source_node_match (dict | None)

  • destination_node_match (dict | None)

  • to_fixed_point (bool)

  • name (str | None)

  • source_node_query (str | None)

  • destination_node_query (str | None)

  • edge_query (str | None)

direction: Literal['forward', 'reverse', 'undirected']#
classmethod from_json(d)#

Given c.to_json(), hydrate back c

Corresponding c.__class__.__init__ must accept all non-reserved instance fields

Parameters:

d (dict)

Return type:

ASTEdge

reserved_fields = ['type']#
reverse()#
Return type:

ASTEdge

to_json(validate=True)#

Returns JSON-compatible dictionry {“type”: “ClassName”, “arg1”: val1, …} Emits all non-reserved instance fields

Return type:

dict

validate()#
Return type:

None

e_reverse#

graphistry.compute.ast.e_reverse = <class 'graphistry.compute.ast.ASTEdgeReverse'>#

Internal, not intended for use outside of this module.

Parameters:
  • edge_match (dict | None)

  • hops (int | None)

  • source_node_match (dict | None)

  • destination_node_match (dict | None)

  • to_fixed_point (bool)

  • name (str | None)

  • source_node_query (str | None)

  • destination_node_query (str | None)

  • edge_query (str | None)

e_reverse

Primary alias for the graphistry.compute.ast.ASTEdgeReverse class.

Note

While e_reverse is the preferred alias for this class, the methods and attributes are defined under graphistry.compute.ast.ASTEdgeReverse.

class graphistry.compute.ast.ASTEdgeReverse(edge_match=None, hops=1, source_node_match=None, destination_node_match=None, to_fixed_point=False, name=None, source_node_query=None, destination_node_query=None, edge_query=None)#

Bases: ASTEdge

Internal, not intended for use outside of this module.

Parameters:
  • edge_match (dict | None)

  • hops (int | None)

  • source_node_match (dict | None)

  • destination_node_match (dict | None)

  • to_fixed_point (bool)

  • name (str | None)

  • source_node_query (str | None)

  • destination_node_query (str | None)

  • edge_query (str | None)

direction: Literal['forward', 'reverse', 'undirected']#
classmethod from_json(d)#

Given c.to_json(), hydrate back c

Corresponding c.__class__.__init__ must accept all non-reserved instance fields

Parameters:

d (dict)

Return type:

ASTEdge

reserved_fields = ['type']#
reverse()#
Return type:

ASTEdge

to_json(validate=True)#

Returns JSON-compatible dictionry {“type”: “ClassName”, “arg1”: val1, …} Emits all non-reserved instance fields

Return type:

dict

validate()#
Return type:

None

e#

graphistry.compute.ast.e = <class 'graphistry.compute.ast.ASTEdgeUndirected'>#

Internal, not intended for use outside of this module.

Parameters:
  • edge_match (dict | None)

  • hops (int | None)

  • source_node_match (dict | None)

  • destination_node_match (dict | None)

  • to_fixed_point (bool)

  • name (str | None)

  • source_node_query (str | None)

  • destination_node_query (str | None)

  • edge_query (str | None)

e

Primary alias for the graphistry.compute.ast.ASTEdgeUndirected class.

Note

While e is the preferred alias for this class, the methods and attributes are defined under graphistry.compute.ast.ASTEdgeUndirected.

e_undirected

Secondary alias for the graphistry.compute.ast.ASTEdgeUndirected class.

class graphistry.compute.ast.ASTEdgeUndirected(edge_match=None, hops=1, source_node_match=None, destination_node_match=None, to_fixed_point=False, name=None, source_node_query=None, destination_node_query=None, edge_query=None)#

Bases: ASTEdge

Internal, not intended for use outside of this module.

Parameters:
  • edge_match (dict | None)

  • hops (int | None)

  • source_node_match (dict | None)

  • destination_node_match (dict | None)

  • to_fixed_point (bool)

  • name (str | None)

  • source_node_query (str | None)

  • destination_node_query (str | None)

  • edge_query (str | None)

direction: Literal['forward', 'reverse', 'undirected']#
classmethod from_json(d)#

Given c.to_json(), hydrate back c

Corresponding c.__class__.__init__ must accept all non-reserved instance fields

Parameters:

d (dict)

Return type:

ASTEdge

reserved_fields = ['type']#
reverse()#
Return type:

ASTEdge

to_json(validate=True)#

Returns JSON-compatible dictionry {“type”: “ClassName”, “arg1”: val1, …} Emits all non-reserved instance fields

Return type:

dict

validate()#
Return type:

None