eelib.model_connections.connections

Module to load connection config.

Author: elenia@TUBS
Copyright 2024 elenia
This file is part of eELib, which is free software under the terms of the GNU GPL Version 3.

Module Contents

Functions

get_default_connections(→ dict)

Load default connection config from model_connect_config.json file.

get_connection_directions_config(→ dict)

Load set directions for connections from connect_directions_config.json file.

Attributes

conf

get_default_connections() dict

Load default connection config from model_connect_config.json file.

Returns:

Model connect config as Python dict.

Return type:

dict

get_connection_directions_config() dict

Load set directions for connections from connect_directions_config.json file.

Returns:

Connect direction config as Python dict, with fields “ALWAYS_WEAK”, “ALWAYS_STRONG”,

and “STRONG_DIR”.

Return type:

dict

conf