Replies: 7 comments
-
Hello @nbao I recommend you use new version. New version is almost done. New version is in the "dev" branch. For serialization Track addition/deletion of shapes |
Beta Was this translation helpful? Give feedback.
-
Oh I think we will have methode OnChange for every move or change text, it will generate un array something like "nodeDataArray": [ |
Beta Was this translation helpful? Give feedback.
-
Thanks for suggestion.
Do you really need OnChange event? You can get JSON by click on the button.
dgrm.net use this format. It is similar to your suggestion {
"v":"1",
"s":[
{
"type":1, // circle
"position":{ "x":324, "y":468 },
"title":"Title"
},
{
"type":2, // rect
"position":{ "x":444, "y":564 },
"title":"Title",
"w":96,
"h":48
},
{
"type":0, // path
"s":0,
"sk":"right",
"e":1,
"ek":"top"
}
]
} |
Beta Was this translation helpful? Give feedback.
-
Hi,
|
Beta Was this translation helpful? Give feedback.
-
Hi
0 - path This mapping is in
I plan to add new shapes after the current tasks.
For now this is not planned. Text editor will be very useful. But due to the other of tasks, I will postpone it for now. |
Beta Was this translation helpful? Give feedback.
-
Hi, Do you plan to release 1st version and export to cdn? I search on jsDelivr or unpkg but I can't find your project. |
Beta Was this translation helpful? Give feedback.
-
Hi, I do not plan to create cdn. |
Beta Was this translation helpful? Give feedback.
-
Hello.
Can I ask the feature to save the diagram to json format and save onchange data in hidden textarea? If yes, can you guide me with some examples? please
Thanks
Beta Was this translation helpful? Give feedback.
All reactions