```
## Viewport Control with useSvelteFlow
```svelte
```
## Node Operations
```svelte
```
## Saving and Restoring State
```svelte
```
## Connection Validation
```svelte
```
## When to Use This Skill
Use svelteflow-fundamentals when you need to:
- Build workflow builders with Svelte
- Create data pipeline visualizations
- Design state machine diagrams
- Build chatbot conversation flows
- Create organizational charts
- Build ML pipeline visualizers
- Create interactive decision trees in Svelte apps
## Best Practices
- Use Svelte stores for reactive flow state
- Keep node components focused and reusable
- Use TypeScript for type safety
- Memoize expensive computations in derived stores
- Use CSS variables for theming
- Add keyboard shortcuts for power users
- Implement undo/redo for better UX
- Use fitView() on initial render
## Resources
- [Svelte Flow Documentation](https://svelteflow.dev/learn)
- [Svelte Flow Examples](https://svelteflow.dev/examples)
- [Svelte Flow API Reference](https://svelteflow.dev/api-reference)
- [xyflow GitHub](https://github.com/xyflow/xyflow)