added optional parameters for graph edge commands