operator + for graph instance