hunk.code_window:     "minified": 5853,
       "gzipped": 2141
     },
     "dist/web.umd.js": {
       "bundled": 86570,
       "minified": 35738,
       "gzipped": 12088
     }
   }
hunk.labels: keep keep keep keep replace replace keep keep keep
hunk.after_edit:     "bundled": 86602,
       "minified": 35758,
  
hunk.file_path: .size-snapshot.json
hunk.type: replace
file: import React, { Fragment } from 'react'
  import { Group } from '@vx/group'
  
  import Node from './Node'
  import { getTopLeft } from './utils'
  
  function Nodes({ nodes, layout, orientation, onNodeClick }) {
    return (
      <Fragment>
        {nodes.map((node, i) => (
          <Group {...getTopLeft(node, layout, orientation)} key={i}>
            <Node
              node={node}
              layout={layout}
              orientation={orientation}
              onClick={() => onNodeClick(node)}
            />
          </Group>
        ))}
      </Fragment>
    )
  }
  
  export default Nodes
  