Disable Connection Layouting / Direct Lines

Thank you for the response. I have searched and tried

additionalModules: [
    gridSnapping: [ 'value', {} ]
  ]

but then I got this error:
obrazek