question: private void createAnimatedGraphWithAdditionNode ( int viewTag , double firstValue , double secondValue ) { mNativeAnimatedNodesManager . createAnimatedNode ( 1 , JavaOnlyMap . of ( "type" , "value" , "value" , 100d ) ) ; mNativeAnimatedNodesManager . createAnimatedNode ( 2 , JavaOnlyMap . of ( "type" , "value" , "value" , 1000d ) ) ; mNativeAnimatedNodesManager . createAnimatedNode ( 3 , JavaOnlyMap . of ( "type" , "addition" , "input" , JavaOnlyArray . of ( 1 , 2 ) ) ) ; mNativeAnimatedNodesManager . createAnimatedNode ( 4 , JavaOnlyMap . of ( "type" , "style" , "style" , JavaOnlyMap . of ( "translateX" , 3 ) ) ) ; mNativeAnimatedNodesManager . createAnimatedNode ( 5 , JavaOnlyMap . of ( "type" , "props" , "props" , JavaOnlyMap . of ( "style" , 4 ) ) ) ; mNativeAnimatedNodesManager . connectAnimatedNodes ( 1 , 3 ) ; mNativeAnimatedNodesManager . connectAnimatedNodes ( 2 , 3 ) ; mNativeAnimatedNodesManager . connectAnimatedNodes ( 3 , 4 ) ; mNativeAnimatedNodesManager . connectAnimatedNodes ( 4 , 5 ) ; mNativeAnimatedNodesManager . connectAnimatedNodeToView ( 5 , 50 ) ; }
target:  Creates a following graph of nodes: Value(1, firstValue) ----> Add(3) ---> Style(4) ---> Props(5) ---> View(viewTag) | Value(2, secondValue) --+ Add(3) node maps to a "translateX" attribute of the Style(4) node.