This is a basic React application, designed to assist people to learn how to use the Toolkit's React integration, written using React Hooks. The demo shows:

  • The basic structure of a Toolkit/React application
  • How to include a Surface component in your UI
  • How to map node types to components
  • How to bind click listeners in nodes and access the underlying data
  • How to render edges
  • How to pass props down into your node components