{"id":23060811,"url":"https://github.com/syncfusionexamples/wpf-diagram-examples","last_synced_at":"2025-06-14T12:03:18.578Z","repository":{"id":40566018,"uuid":"253521947","full_name":"SyncfusionExamples/WPF-Diagram-Examples","owner":"SyncfusionExamples","description":"This repository contains various demos of WPF SfDiagram control.","archived":false,"fork":false,"pushed_at":"2025-05-12T07:11:13.000Z","size":24164,"stargazers_count":11,"open_issues_count":4,"forks_count":23,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-12T08:37:22.283Z","etag":null,"topics":["diagram","diagram-control","graph-algorithms","graphics","organization-chart","wpf"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SyncfusionExamples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2020-04-06T14:27:58.000Z","updated_at":"2025-03-24T06:26:11.000Z","dependencies_parsed_at":"2023-10-25T07:32:28.080Z","dependency_job_id":"4c42f599-3d50-4675-935b-e8e9762a6b0d","html_url":"https://github.com/SyncfusionExamples/WPF-Diagram-Examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SyncfusionExamples/WPF-Diagram-Examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2FWPF-Diagram-Examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2FWPF-Diagram-Examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2FWPF-Diagram-Examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2FWPF-Diagram-Examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SyncfusionExamples","download_url":"https://codeload.github.com/SyncfusionExamples/WPF-Diagram-Examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2FWPF-Diagram-Examples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259812943,"owners_count":22915191,"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":["diagram","diagram-control","graph-algorithms","graphics","organization-chart","wpf"],"created_at":"2024-12-16T03:15:21.237Z","updated_at":"2025-06-14T12:03:18.525Z","avatar_url":"https://github.com/SyncfusionExamples.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Diagram control examples\n**Essential\u0026reg; Diagram WPF** is a powerful, extensible, and feature-rich library for visualizing, creating, and editing interactive diagrams. It supports creating flowcharts, organizational charts, mind maps, floor plans, UML diagrams, and BPMN charts either through code or a visual interface.\n\n![Diagram - Overview](https://help.syncfusion.com/wpf/diagram/overview_images/wpf-diagram-overview.png)\n\n## Key features of SfDiagram are as follows:\n\n* **Data visualization**: Supports visualizing any graphical objects such as text, image, shapes, or any UIElement or template.\n* **Built-in Shapes**: Provided 445+ standard built-in shapes as ResourceDictionary.\n* **High Performance**: Supports loading large diagrams quickly using UI-virtualization techniques.\n* **Interaction**: Diagram elements can be selected, rotated, resized, and moved.\n* **Z-Order**: Diagram elements overlapping can be controlled by changing its Z-Order value.\n* **Pan and Zoom**: Allows you to pan, zoom in or out of your current diagram. \n* **Snapping**: Snaps the diagram elements towards the nearest element or gridlines.\n* **Undo/Redo**: Allows you to keep track of the recent changes made in a Diagram to correct your mistakes.\n* **Commands**: Built-in commands for various interactions that allows you to easily implement Diagram interaction logic in MVVM pattern.\n* **Keyboard Shortcuts**: Allows you to trigger the diagramming features using keyboard shortcuts.\n* **Clipboard Operations**: Ability to cut, copy, and paste or duplicate selected Diagram elements within and across diagrams.\n* **Business objects**: Ability to populate diagram from datasource (business object) with the help of automatic-layouts.\n* **Automatic Layouts**: Built-in automatic nodes arrangement support for organization chart layout, hierarchical tree layout, flowchart layout, and radial tree layout.\n* **Serialization**: Saves current state of diagram as an XML file, and load them back when needed.\n* **Printing and Exporting**: Supports printing and also exporting the diagram as image. \n* **Stencil**: Gallery of reusable symbols and nodes, which can be dragged and dropped onto the diagram surface at any number of times.\n* **Overview control**: Displays a small preview of the full diagram page, which allows you to improve the navigation.\n* **Localization**: Localizes every static text in the control to any supported language.\n\nThis repository contains the samples that demonstrate the functionalities of Diagram control\n\n\n\u003ctable\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/GettingStarted\"\u003eGetting Started\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n  \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Automatic Layout\"\u003eAutomatic Layout\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Shapes\"\u003eShapes\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Connector\"\u003eConnector\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003ca href=\"Samples/Annotations\"\u003eAnnotation\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e \n \u003ctr\u003e\n \u003ctd\u003e\u003ca href=\"Samples/Diagram Ribbon\"\u003eDiagram Ribbon\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003ca href=\"Samples/Stencil\"\u003eStencil\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003ca href=\"Samples/UseCase Diagrams\"\u003eUseCase Diagrams\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Gridlines\"\u003eGridlines\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Snapping\"\u003eSnapping\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/PageSettings\"\u003ePage Settings\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/ScrollSettings\"\u003eScroll-Settings\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/DataSource\"\u003eDataSource\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Serialization\"\u003eSerialization\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Virtualization\"\u003eVirtualization\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Rulers\"\u003eRulers\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n  \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Commands\"\u003eCommands\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Printing\"\u003ePrinting\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Theme\"\u003eTheme\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/ContextMenu\"\u003eContextMenu\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Exporting\"\u003eExporting\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Localization\"\u003eLocalization\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/DrawingTools\"\u003eTools\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Node\"\u003eNode\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Group\"\u003eGroup\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Port\"\u003ePort\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Interaction\"\u003eInteraction\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Constraints\"\u003eConstraints\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Overview\"\u003eOverview\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n  \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/TreeViewToDiagram\"\u003eTreeViewToDiagram\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n   \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Collision State\"\u003eCollision State\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n   \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Swimlane\"\u003eSwimlane\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/PageBreaks\"\u003ePageBreaks\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/RubberBandZoom\"\u003eRubberBandZoom\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"Samples/Panning\"\u003ePanning\u003c/a\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/table\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyncfusionexamples%2Fwpf-diagram-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyncfusionexamples%2Fwpf-diagram-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyncfusionexamples%2Fwpf-diagram-examples/lists"}