Package igraph :: Module configuration
[hide private]
[frames] | no frames]

Module configuration

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.


License: Copyright (C) 2006-2007 Gabor Csardi <csardi@rmki.kfki.hu>, Tamas Nepusz <ntamas@rmki.kfki.hu> MTA RMKI, Konkoly-Thege Miklos st. 29-33, Budapest 1121, Hungary This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Classes [hide private]
  Configuration
Class representing igraph configuration details.
Functions [hide private]
 
get_platform_image_viewer()
Returns the path of an image viewer on the given platform
 
get_user_config_file()
Returns the path where the user-level configuration file is stored
 
init()
Default mechanism to initiate igraph configuration
Variables [hide private]
  __loader__ = <zipimporter object "/Library/Python/2.5/site-pac...
Function Details [hide private]

init()

 

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

Returns:
the Configuration object loaded or created

Variables Details [hide private]

__loader__

Value:
<zipimporter object "/Library/Python/2.5/site-packages/python_igraph-0\
.5.1-py2.5-macosx-10.5-i386.egg/igraph/">