Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Problem with the new Id property for DiagramNodes (Read 1351 times)
lue
YaBB Newbies
*
Offline


I love NetDiagram!

Posts: 43
Location: Austria
Joined: Jan 9th, 2008
Problem with the new Id property for DiagramNodes
Aug 13th, 2010 at 10:53am
Print Post  
Dear all (dear Stoyo),

we used in the past for shapeNodes and DiagramLinks the Tag as identifier. Now we changed to the newest version 3.1.1 and in our application from "Tag" to the new "Id" using as identifier.

Issue: If you save the diagram in Diagram-Files, xml-Files ... you dont find this property in the files (property named "id" is the index-Value ...). We need this property in the saved files because we compare diagramitems of saved and actual diagrams ...

Do you have a solution? Do you plan to implement this property in the diagram files? I think its an urgently problem ...

best regards chris
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem with the new Id property for DiagramNo
Reply #1 - Aug 13th, 2010 at 11:50am
Print Post  
Hi Chris,

This property is not officially released for Netdiagram yet, we'll have to implement it for the Java and Silverlight applets first. You might still use it in ImageMap mode, but Ids are saved automatically only if they are from a value type. Otherwise the Diagram object raises the same SerializeTag and DeserializeTag events to let you run custom serializaton code. The EventArgs object now has a new PropertyName member that lets you distinguish the two cases.

Best regards,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint