/// <summary>
        /// Combines two graphs using the operator of this binary expression
        /// </summary>
        /// <param name="leftGraph"></param>
        /// <param name="rightGraph"></param>
        /// <returns></returns>
        private Functions.Graph combineGraph(Functions.Graph leftGraph, Functions.Graph rightGraph)
        {
            Functions.Graph retVal = null;

            switch (Operation)
            {
                case BinaryExpression.OPERATOR.ADD:
                    retVal = leftGraph.AddGraph(rightGraph);
                    break;

                case BinaryExpression.OPERATOR.SUB:
                    retVal = leftGraph.SubstractGraph(rightGraph);
                    break;

                case BinaryExpression.OPERATOR.MULT:
                    retVal = leftGraph.MultGraph(rightGraph);
                    break;

                case BinaryExpression.OPERATOR.DIV:
                    retVal = leftGraph.DivGraph(rightGraph);
                    break;
            }

            return retVal;
        }