load_from_air

Function Usage

Loads a graph from the AIR format.

Prototype

1
load_from_air(file_path: str) -> None

Parameters

Parameter

Input/Output

Description

file_path

Input

Path for loading the AIR file, which is of the string type.

Returns

None

Constraints

  • If file_path is not a string, TypeError is thrown.
  • If the loading fails, RuntimeError is thrown.