Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic accessing link problems (Read 3763 times)
Ivan Gamo
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 30
Joined: Nov 10th, 2012
accessing link problems
Dec 21st, 2012 at 3:21am
Print Post  
I'm creating a program that will generate the text in every shape within the flowchart. here is the example of flowchart that I've created.
  

shape.jpg (Attachment deleted)
Back to top
 
IP Logged
 
Ivan Gamo
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 30
Joined: Nov 10th, 2012
Re: accessing link problems
Reply #1 - Dec 21st, 2012 at 3:25am
Print Post  
now here is the text that generated from the flowchart above. as you can see the num3 = 3 and num4 = 4 was not generated.
  

code.jpg (Attachment deleted)
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: accessing link problems
Reply #2 - Dec 21st, 2012 at 11:30am
Print Post  
Check the GenerateHtml method in the SiteMap sample project. It shows how to traverse a flowchart recursively by following links in each node's OutgoingLinks collection.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Ivan Gamo
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 30
Joined: Nov 10th, 2012
Re: accessing link problems
Reply #3 - Dec 21st, 2012 at 1:32pm
Print Post  
where is it? would you send me the link pleas? thanks.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: accessing link problems
Reply #4 - Dec 21st, 2012 at 2:24pm
Print Post  
It is somewhere under the Flowchart.NET's installation folder if you have selected to install samples for some Visual Studio version (on one of the first pages of the installer). If you haven't, look for a samples.zip under the Setup subfolder of the installation root folder and extract the samples from there.
  
Back to top
 
IP Logged
 
Ivan Gamo
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 30
Joined: Nov 10th, 2012
Re: accessing link problems
Reply #5 - Dec 22nd, 2012 at 8:28am
Print Post  
i found it. but the codes is in php/HTML. i'm using vb.net.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: accessing link problems
Reply #6 - Dec 22nd, 2012 at 1:57pm
Print Post  
Take a look again. While GenerateHtml creates some HTML code, it is still in VB.NET, and you can see how to traverse the flowchart recursively from it. If you remove all "html +=" lines and add a single Debug.WriteLine call showing current node's text (the root argument), you should get console output similar to what you need.
« Last Edit: Dec 24th, 2012 at 7:30am by Stoyo »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint