PHPGraphLib with additional functions