Skip to content

Commit 22febac

Browse files
Merge pull request #552 from synergycodes/main
Release v.1.0.0
2 parents 2c847ad + f7696ef commit 22febac

File tree

180 files changed

+7579
-871
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+7579
-871
lines changed

CHANGELOG.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,27 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [1.0.0] - 2026-02-06
9+
10+
🎉 **We've reached v1.0!** This milestone marks a stable, feature-complete library for building interactive diagrams in Angular. We'd love to hear your feedback — share your thoughts in our [GitHub Discussions](https://github.com/synergycodes/ng-diagram/discussions) or join us on [Discord](https://discord.gg/FDMjRuarFb)!
11+
12+
### Added
13+
14+
- [Virtualization](/docs/guides/virtualization/) for performance optimization on large diagrams - renders only visible elements within the viewport ([#513](https://github.com/synergycodes/ng-diagram/pull/513))
15+
- [Minimap component](/docs/guides/minimap/) for bird's-eye view navigation of diagrams ([#537](https://github.com/synergycodes/ng-diagram/pull/537))
16+
- [Touch Gestures](/docs/guides/touch-gestures/) documentation article explaining touch device support ([#530](https://github.com/synergycodes/ng-diagram/pull/530))
17+
- [`nodeDraggingEnabled`](/docs/api/types/configuration/flowconfig/#nodedraggingenabled) config option and per-node [`draggable`](/docs/api/types/model/simplenode/#draggable) property to disable node dragging via mouse and keyboard ([#539](https://github.com/synergycodes/ng-diagram/pull/539) - thanks for raising this [@advayumare](https://github.com/advayumare) 💪)
18+
- [`stopLinking`](/docs/api/services/ngdiagramservice/#stoplinking) method to cancel programmatic linking action on touch devices ([#524](https://github.com/synergycodes/ng-diagram/pull/524))
19+
20+
### Changed
21+
22+
- Improved diagram panning on Mac with Figma-like trackpad experience ([#498](https://github.com/synergycodes/ng-diagram/pull/498))
23+
24+
### Fixed
25+
26+
- Fixed keyboard shortcuts not working when CapsLock is enabled. Letter key shortcuts (e.g., Ctrl+C, Ctrl+V, Ctrl+A) now match case-insensitively ([#546](https://github.com/synergycodes/ng-diagram/pull/546))
27+
- Fixed model reinitialization issues: viewport dimensions being undefined (causing `zoomToFit` and linking failures) and missing `_internalId` for nodes (causing Angular tracking issues) ([#523](https://github.com/synergycodes/ng-diagram/pull/523))
28+
- `toJSON()` now strips readonly computed fields (`measuredPorts`, `measuredBounds`, `computedZIndex`) from serialized nodes and (`measuredLabels`, `computedZIndex`) from serialized edges. These are system-computed values that should be re-derived from the DOM on load, not persisted ([#545](https://github.com/synergycodes/ng-diagram/pull/545))
929

1030
## [0.9.1] - 2026-01-08
1131

@@ -117,7 +137,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
117137

118138
Initial tagged release.
119139

120-
[unreleased]: https://github.com/synergycodes/ng-diagram/compare/v0.9.1...HEAD
140+
[unreleased]: https://github.com/synergycodes/ng-diagram/compare/v1.0.0...HEAD
141+
[1.0.0]: https://github.com/synergycodes/ng-diagram/compare/v0.9.1...v1.0.0
121142
[0.9.1]: https://github.com/synergycodes/ng-diagram/compare/v0.9.0...v0.9.1
122143
[0.9.0]: https://github.com/synergycodes/ng-diagram/releases/tag/v0.9.0
123144
[0.8.1]: https://github.com/synergycodes/ng-diagram/releases/tag/v0.8.1

apps/angular-demo/src/app/app.component.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@
66
[config]="config"
77
(diagramInit)="onDiagramInit($event)"
88
(selectionChanged)="onSelectionChanged($event)"
9-
(selectionMoved)="onSelectionMoved($event)"
109
(groupMembershipChanged)="onGroupMembershipChanged($event)"
1110
(selectionRotated)="onSelectionRotated($event)"
12-
(viewportChanged)="onViewportChanged($event)"
1311
(edgeDrawn)="onEdgeDrawn($event)"
1412
(clipboardPasted)="onClipboardPasted($event)"
1513
(nodeResized)="onNodeResized($event)"
@@ -18,6 +16,10 @@
1816
>
1917
<ng-diagram-background type="grid"></ng-diagram-background>
2018
</ng-diagram>
21-
<app-toolbar />
19+
<ng-diagram-minimap [nodeStyle]="nodeStyle" [minimapNodeTemplateMap]="minimapNodeTemplateMap" />
20+
<app-toolbar
21+
(testVirtualizationClick)="enableVirtualizationTest()"
22+
(reinitializeModelClick)="onReinitializeModel()"
23+
/>
2224
<app-palette [model]="paletteModel" />
2325
</div>

0 commit comments

Comments
 (0)