{"id":28333707,"url":"https://github.com/northwoodssoftware/godiagram","last_synced_at":"2026-04-02T20:05:43.392Z","repository":{"id":41191455,"uuid":"427142352","full_name":"NorthwoodsSoftware/GoDiagram","owner":"NorthwoodsSoftware","description":".NET diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages. ","archived":false,"fork":false,"pushed_at":"2026-03-31T14:26:10.000Z","size":3576,"stargazers_count":124,"open_issues_count":0,"forks_count":13,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-03-31T16:29:51.659Z","etag":null,"topics":["avalonia","data-visualization","diagram","dotnet","dotnet-library","graph","interactive-diagrams","layout","visualization","winforms"],"latest_commit_sha":null,"homepage":"https://godiagram.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NorthwoodsSoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-11-11T21:02:50.000Z","updated_at":"2026-03-31T14:26:06.000Z","dependencies_parsed_at":"2024-06-18T18:01:47.906Z","dependency_job_id":"b3a0e3cc-ce2f-468a-940d-fccb0bfe6525","html_url":"https://github.com/NorthwoodsSoftware/GoDiagram","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/NorthwoodsSoftware/GoDiagram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorthwoodsSoftware%2FGoDiagram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorthwoodsSoftware%2FGoDiagram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorthwoodsSoftware%2FGoDiagram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorthwoodsSoftware%2FGoDiagram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NorthwoodsSoftware","download_url":"https://codeload.github.com/NorthwoodsSoftware/GoDiagram/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorthwoodsSoftware%2FGoDiagram/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31314883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","data-visualization","diagram","dotnet","dotnet-library","graph","interactive-diagrams","layout","visualization","winforms"],"created_at":"2025-05-26T20:52:24.156Z","updated_at":"2026-04-02T20:05:43.388Z","avatar_url":"https://github.com/NorthwoodsSoftware.png","language":"C#","readme":"# GoDiagram — .NET Library for Interactive Diagrams\n\n[GoDiagram](https://godiagram.com) is a .NET library for creating interactive diagrams, charts, and graphs. It is based on the [GoJS](https://gojs.net) JavaScript diagramming library, also from Northwoods Software.\n\n[![open issues](https://img.shields.io/github/issues-raw/NorthwoodsSoftware/GoDiagram.svg)](https://github.com/NorthwoodsSoftware/GoDiagram/issues)\n[![Twitter Follow](https://img.shields.io/twitter/follow/NorthwoodsGo.svg?style=social\u0026label=Follow)](https://twitter.com/NorthwoodsGo)\n\n[Get Started with GoDiagram](https://godiagram.com/winforms/learn)\n\nGoDiagram is a flexible library that can be used to create a number of different kinds of interactive diagrams, including data visualizations, drawing tools, and graph editors. GoDiagram includes a number of built in layouts including tree layout, force directed, radial, and layered digraph layout, and a number of custom layout examples.\n\nRead more about GoDiagram at [godiagram.com](https://godiagram.com).\n\n[This repository](https://github.com/NorthwoodsSoftware/GoDiagram) contains the sources for all samples and extensions.\nYou can use the GitHub repository to quickly [search through the sample sources](https://github.com/NorthwoodsSoftware/GoDiagram/search?q=FindNodeDataForKey\u0026type=Code).\n\nIn your project, we recommend referencing the library via NuGet as it will more reliably add toolbox items and necessary references:\n\n- [WinForms](https://www.nuget.org/packages/Northwoods.GoDiagram.WinForms)\n- [Avalonia](https://www.nuget.org/packages/Northwoods.GoDiagram.Avalonia)\n\n## Minimal Sample\n\nGraphs are constructed by creating one or more templates, with desired properties data-bound, and adding model data.\n\n```cs\n  ...\n\n  private void Setup() {\n    _Diagram = diagramControl1.Diagram;\n\n    _Diagram.UndoManager.IsEnabled = true;  // enable undo \u0026 redo\n\n    // define a simple Node template\n    _Diagram.NodeTemplate =\n      new Node(\"Auto\")  // the Shape will go around the TextBlock\n        .Add(\n          new Shape(\"RoundedRectangle\") {\n              StrokeWidth = 0,  // no border\n              Fill = \"white\"  // default fill is white\n            }\n            // Shape.Fill is bound to Node.Data.Color\n            .Bind(\"Fill\", \"Color\"),\n          new TextBlock {\n              Margin = 8, // some room around the text\n              Font = new Font(\"Segoe UI\", 14, FontWeight.Bold),\n              Stroke = \"#333\"\n            }\n            // TextBlock.Text is bound to Node.Data.Key\n            .Bind(\"Text\", \"Key\")\n        );\n\n    // but use the default Link template, by not setting Diagram.LinkTemplate\n\n    // create the model data that will be represented by Nodes and Links\n    _Diagram.Model = new Model {\n      NodeDataSource = new List\u003cNodeData\u003e {\n        new NodeData { Key = \"Alpha\", Color = \"lightblue\" },\n        new NodeData { Key = \"Beta\", Color = \"orange\" },\n        new NodeData { Key = \"Gamma\", Color = \"lightgreen\" },\n        new NodeData { Key = \"Delta\", Color = \"pink\" }\n      },\n      LinkDataSource = new List\u003cLinkData\u003e {\n        new LinkData { From = \"Alpha\", To = \"Beta\" },\n        new LinkData { From = \"Alpha\", To = \"Gamma\" },\n        new LinkData { From = \"Beta\", To = \"Beta\" },\n        new LinkData { From = \"Gamma\", To = \"Delta\" },\n        new LinkData { From = \"Delta\", To = \"Alpha\" }\n      }\n    };\n  }\n\n  // define the model data\n  public class Model : GraphLinksModel\u003cNodeData, string, object, LinkData, string, string\u003e { }\n  public class NodeData : Model.NodeData {\n    public string Color { get; set; }\n  }\n  public class LinkData : Model.LinkData { }\n\n  ...\n```\n\nThe above diagram and model code creates the following graph.\n\n![minimal](https://github.com/NorthwoodsSoftware/GoDiagram/assets/1202288/6182994a-15e7-4075-822f-15b561e6ad58)\n\n## License\n\nSee [nwoods.com](https://nwoods.com/licenses) for our licenses.\n\nCopyright (c) Northwoods Software Corporation\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorthwoodssoftware%2Fgodiagram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnorthwoodssoftware%2Fgodiagram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorthwoodssoftware%2Fgodiagram/lists"}