chain=Graph[{0,1,2},{DirectedEdge[0,1,{Superscript[0,1],Subscript[1,1]}],DirectedEdge[1,2,{Superscript[1,2],Subscript[2,1]}]},AnnotationRules{0{"Tensor"{0.,0.},"Index"{Superscript[0,1]},VertexLabels"Stub"},1{"Tensor"RandomReal[1,{2,3}],"Index"{Subscript[1,1],Superscript[1,2]},VertexLabels1},2{"Tensor"RandomReal[1,{3,4}],"Index"{Subscript[2,1],Superscript[2,2]},VertexLabels2}}];