# ``igraph`.`configuration``

module documentation
(source)

Configuration framework for igraph.

igraph has some parameters which usually affect the behaviour of many functions. This module provides the framework for altering and querying igraph parameters as well as saving them to and retrieving them from disk.

Function | `get_user_config_file` | Returns the path where the user-level configuration file is stored
Function | `init` | Default mechanism to initiate igraph configuration

def get_user_config_file() -> `str`: (source)

Returns the path where the user-level configuration file is stored

def init() -> `Configuration`: (source)

Default mechanism to initiate igraph configuration

This method loads the user-specific configuration file from the user's home directory, or if it does not exist, creates a default configuration.

The method is safe to be called multiple times, it will not parse the configuration file twice.

Returns
`Configuration` | the `Configuration` object loaded or created.