Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Manipulating nodes at runtime programatically (Read 3305 times)
Gravity
Junior Member
**
Offline


I Love MindFusion!

Posts: 52
Joined: Sep 21st, 2016
Manipulating nodes at runtime programatically
Nov 16th, 2016 at 3:56pm
Print Post  
Hello,


I am loading xml through this method "diagramView.LoadFromString(string ..".

In what property current xml is loaded?
Can i manipulate it pragmatically?

I tries inspect that DiagramView object, but could not find obviously : )
  
Back to top
 
IP Logged
 
Gravity
Junior Member
**
Offline


I Love MindFusion!

Posts: 52
Joined: Sep 21st, 2016
Re: Manipulating nodes at runtime programatically
Reply #1 - Nov 16th, 2016 at 4:00pm
Print Post  
Ok. I apparently overlooked : ) it is in the Diagram property of DiagramView.

_diagramView.Diagram.Nodes daah
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Manipulating nodes at runtime programatically
Reply #2 - Nov 16th, 2016 at 4:21pm
Print Post  
Hi!

The xml string is the result you'd get from previous call to SaveToXml / SaveToString, or are you generating XML in diagram's format dynamically? Anything you can do interactively can also be done programmatically using the control's public API - creating nodes and links, setting their positions, etc.

Regards,
Slavcho
  
Back to top
 
IP Logged
 
Gravity
Junior Member
**
Offline


I Love MindFusion!

Posts: 52
Joined: Sep 21st, 2016
Re: Manipulating nodes at runtime programatically
Reply #3 - Nov 16th, 2016 at 5:43pm
Print Post  
Yes i understand that : ) at first i just overlooked, and thought that it would be just faster if asked, sorry for that : )

Cheers mate Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint