adding transaction graph