{"id":14965051,"url":"https://github.com/trrahul/nodify-avalonia","last_synced_at":"2025-07-10T11:08:18.928Z","repository":{"id":232803679,"uuid":"747129882","full_name":"trrahul/nodify-avalonia","owner":"trrahul","description":"A cross-platform MVVM Node editor for Avalonia.","archived":false,"fork":false,"pushed_at":"2025-05-30T20:43:05.000Z","size":524,"stargazers_count":28,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-09T08:03:45.950Z","etag":null,"topics":["avalonia","avaloniaui","mvvm","node-editor"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trrahul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-23T10:23:36.000Z","updated_at":"2025-06-29T09:58:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"02f33982-c64b-43c6-9949-24f95ed1b3b1","html_url":"https://github.com/trrahul/nodify-avalonia","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"e141ec1714dbd74124e5c28556cc2be5a90d1b8b"},"previous_names":["trrahul/nodify-avalonia"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trrahul/nodify-avalonia","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trrahul%2Fnodify-avalonia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trrahul%2Fnodify-avalonia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trrahul%2Fnodify-avalonia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trrahul%2Fnodify-avalonia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trrahul","download_url":"https://codeload.github.com/trrahul/nodify-avalonia/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trrahul%2Fnodify-avalonia/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264569438,"owners_count":23629601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["avalonia","avaloniaui","mvvm","node-editor"],"created_at":"2024-09-24T13:34:09.131Z","updated_at":"2025-07-10T11:08:18.923Z","avatar_url":"https://github.com/trrahul.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nodify.Avalonia\n\n**A powerful, feature-rich node editor control for Avalonia UI applications**\n\n[![NuGet](https://img.shields.io/nuget/v/Nodify.Avalonia?style=for-the-badge\u0026logo=nuget\u0026label=release)](https://www.nuget.org/packages/Nodify.Avalonia/)\n[![NuGet](https://img.shields.io/nuget/dt/Nodify.Avalonia?label=downloads\u0026style=for-the-badge\u0026logo=nuget)](https://www.nuget.org/packages/Nodify.Avalonia)\n[![License](https://img.shields.io/github/license/trrahul/nodify-avalonia?style=for-the-badge)](https://github.com/trrahul/nodify-avalonia/blob/master/LICENSE)\n[![Docs](https://img.shields.io/static/v1?label=docs\u0026message=WIKI\u0026color=blue\u0026style=for-the-badge)](https://github.com/trrahul/nodify-avalonia/wiki)\n\nNodify.Avalonia is a comprehensive node editor library that enables you to create visual programming interfaces, data flow diagrams, and interactive graph-based applications in Avalonia UI. Built with performance and extensibility in mind, it provides a rich set of controls for creating professional node-based editors.\n\n## 🚀 Quick Start\n\n### Installation\n```xml\n\u003cPackageReference Include=\"Nodify.Avalonia\" Version=\"1.0.2\" /\u003e\n```\n\nOr via Package Manager Console:\n```\nInstall-Package Nodify.Avalonia\n```\n\n### Basic Usage\n```xml\n\u003cnodify:NodifyEditor ItemsSource=\"{Binding Nodes}\"\n                     Connections=\"{Binding Connections}\"\n                     PendingConnection=\"{Binding PendingConnection}\"\n                     SelectedItems=\"{Binding SelectedNodes}\" /\u003e\n```\n\n## ✨ Features\n\n### 🎯 Core Capabilities\n- **MVVM-First Design** - Built from the ground up to work seamlessly with MVVM patterns\n- **Zero External Dependencies** - Only depends on Avalonia UI\n- **High Performance** - Optimized rendering and interaction handling for large node graphs\n- **Extensible Architecture** - Highly customizable with dependency properties and styling\n\n### 🎨 Visual Features\n- **Built-in Themes** - Professional dark and light themes included\n- **Flexible Styling** - Comprehensive theming system with customizable templates\n- **Connection Types** - Multiple connection styles: straight lines, bezier curves, and circuit-style\n- **Node Shapes** - Support for various node shapes and custom templates\n\n### 🖱️ Interaction \u0026 Navigation\n- **Multi-Selection** - Select multiple nodes with rectangle selection or Ctrl+click\n- **Zooming \u0026 Panning** - Smooth zooming with mouse wheel and panning with middle mouse button\n- **Auto-Panning** - Automatic panning when dragging near viewport edges\n- **Keyboard Shortcuts** - Full keyboard support for common operations\n- **Undo/Redo Ready** - Command-based architecture supports undo/redo implementations\n\n### 🔗 Connection System\n- **Visual Connection Creation** - Drag from connectors to create connections visually\n- **Pending Connections** - Preview connections while dragging\n- **Connection Validation** - Customizable connection rules and validation\n- **Multiple Connection Types** - Support for different connection styles and behaviors\n\n### 🎛️ Advanced Features\n- **Grouping \u0026 Comments** - Group nodes together and add comment nodes\n- **Decorators Layer** - Overlay custom UI elements on the editor\n- **State Management** - Built-in state system for handling different interaction modes\n- **Performance Optimizations** - Virtualization and rendering optimizations for large graphs\n- **Grid Snapping** - Optional grid snapping for precise node placement\n\n## 📱 Live Demo\n\nSee Nodify.Avalonia in action:\n\n[![Demo Video](https://img.youtube.com/vi/vJu3wMTGsGU/0.jpg)](https://www.youtube.com/watch?v=vJu3wMTGsGU)\n\n## 🖼️ Screenshots\n\n### Calculator Demo\nA functional calculator built with visual programming nodes:\n\n![Calculator Demo](https://github.com/trrahul/nodify-avalonia/assets/7353840/ad8543f5-15c2-4506-93ca-2c40933bef26)\n\n### Playground Application\nInteractive playground showcasing all features:\n\n![Playground Demo](https://github.com/trrahul/nodify-avalonia/assets/7353840/11a10880-a8e3-4923-b26e-0feeeb1a7b73)\n\n### Node Graph Examples\n![Node Graph 1](https://github.com/user-attachments/assets/4c67386c-5ef4-4ebf-b627-de794d037ddc)\n\n![Node Graph 2](https://github.com/user-attachments/assets/7664c675-3e2d-451a-b07b-f009d6ab121d)\n\n## 📚 Example Applications\n\nThis repository includes two comprehensive example applications:\n\n### 🧮 [Calculator](Nodify.Avalonia.Calculator)\nA visual calculator where you can:\n- Create mathematical operation nodes\n- Connect operations to build complex calculations\n- Group operations for organization\n- Use various mathematical functions (Add, Multiply, Divide, Pow, etc.)\n\n**Key Controls:**\n- **Right Click**: Show operations menu (create nodes)\n- **Delete**: Delete selected nodes\n- **C**: Group selected operations\n- **Ctrl+T**: Toggle theme\n\n### 🎮 [Playground](Nodify.Avalonia.Playground)\nAn interactive demonstration featuring:\n- All editor features and capabilities\n- Customizable settings panel\n- Theme switching\n- Performance testing with large node graphs\n- Various node types and connection styles\n\n## 🛠️ Key Components\n\n### NodifyEditor\nThe main editor control that hosts nodes and connections:\n```xml\n\u003cnodify:NodifyEditor ItemsSource=\"{Binding Nodes}\"\n                     Connections=\"{Binding Connections}\"\n                     ViewportZoom=\"{Binding ZoomLevel}\"\n                     ViewportLocation=\"{Binding PanOffset}\" /\u003e\n```\n\n### ItemContainer\nRepresents individual nodes in the editor:\n```xml\n\u003cStyle Selector=\"nodify|ItemContainer\"\u003e\n    \u003cSetter Property=\"Location\" Value=\"{Binding Position}\" /\u003e\n    \u003cSetter Property=\"IsSelected\" Value=\"{Binding IsSelected}\" /\u003e\n\u003c/Style\u003e\n```\n\n### Connection Types\n- **Connection** - Basic connection between nodes\n- **LineConnection** - Straight line connections\n- **CircuitConnection** - Circuit-style right-angle connections\n- **PendingConnection** - Temporary connections while dragging\n\n### Connectors\nInput and output ports for nodes:\n```xml\n\u003cnodify:Connector IsConnected=\"{Binding IsConnected}\"\n                  Anchor=\"{Binding Position}\" /\u003e\n```\n\n## 🔧 Configuration Options\n\nNodify.Avalonia offers extensive customization through dependency properties:\n\n### Viewport Control\n- `ViewportZoom` - Current zoom level\n- `MinViewportZoom` / `MaxViewportZoom` - Zoom limits\n- `ViewportLocation` - Pan offset\n- `DisablePanning` / `DisableZooming` - Disable interactions\n\n### Selection \u0026 Interaction\n- `EnableRealtimeSelection` - Update selection while dragging\n- `SelectedItems` - Currently selected items\n- `DisableAutoPanning` - Disable auto-pan at edges\n\n### Visual Customization\n- `GridCellSize` - Grid snap size\n- `ConnectionTemplate` - Custom connection appearance\n- `DisplayConnectionsOnTop` - Z-order for connections\n\n### Performance Options\n- `EnableRenderingOptimizations` - Optimize for large graphs\n- `EnableDraggingOptimizations` - Optimize dragging performance\n\n## 🎨 Theming\n\nBuilt-in themes with full customization support:\n\n```xml\n\u003cApplication.Styles\u003e\n    \u003cFluentTheme /\u003e\n    \u003cStyleInclude Source=\"avares://Nodify.Avalonia/Themes/Controls.xaml\"/\u003e\n\u003c/Application.Styles\u003e\n```\n\n### Custom Styling\n```xml\n\u003cStyle Selector=\"nodify|NodifyEditor\"\u003e\n    \u003cSetter Property=\"Background\" Value=\"#1E1E1E\" /\u003e\n    \u003cSetter Property=\"ConnectionTemplate\" Value=\"{StaticResource CustomConnectionTemplate}\" /\u003e\n\u003c/Style\u003e\n```\n\n## 🤝 Contributing\n\n\n### Development Setup\n1. Clone the repository\n2. Open `Nodify.Avalonia.sln` in your IDE\n3. Build and run the example applications\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🌟 Show Your Support\n\nIf you find Nodify.Avalonia useful, please consider:\n- ⭐ Starring the repository\n- 🐛 Reporting issues\n- 💡 Suggesting new features\n- 🔄 Contributing code improvements\n\n---\n\n**Made with ❤️ for the Avalonia community**\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrrahul%2Fnodify-avalonia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrrahul%2Fnodify-avalonia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrrahul%2Fnodify-avalonia/lists"}