Skip to content

Update Model.cs to allow manipulation of the object Id#504

Open
vcarlucci wants to merge 1 commit intoBlazor-Diagrams:developfrom
vcarlucci:patch-1
Open

Update Model.cs to allow manipulation of the object Id#504
vcarlucci wants to merge 1 commit intoBlazor-Diagrams:developfrom
vcarlucci:patch-1

Conversation

@vcarlucci
Copy link

There are numerous scenarios where recovering a diagram from a JSON file and saving it back is necessary. To support this functionality, assigning custom 'Id' values is essential. It is, however, the responsibility of the custom implementation to ensure that each 'Id' is unique.

There are numerous scenarios where recovering a diagram from a JSON file and saving it back is necessary. To support this functionality, assigning custom 'Id' values is essential. It is, however, the responsibility of the custom implementation to ensure that each 'Id' is unique.
@zHaytam
Copy link
Collaborator

zHaytam commented Jun 12, 2025

Hello, doesn't the constructor let you do that since it expects an id?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants