Updated on 2024-05-20 GMT+08:00

Graph Operation APIs

Graph operation APIs aim to provide users with an end-to-end process APIs for input, computation, and output.

Graph Property Value Type

The current Python DSL supports three data types: int, float, and bool, which correspond to the basic data types int64_t, double, and bool in C++.

Combiner Type

The Combiner is used to perform local calculations on data during the computation process that satisfies the commutative and associative laws, reducing data exchange. The current Python DSL provides three types of Combiners: sum, max, and min, which support local calculations on int and float data.

Graph Loading

hyg.analytics.graph.load_base_graph(graph_name:str)

This API returns a BaseGraph object, where graph_name specifies the path of the graph data.