Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Moving from older version to new version (Read 1233 times)
dinesh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 8
Joined: Mar 5th, 2008
Moving from older version to new version
Mar 7th, 2008 at 12:59pm
Print Post  
i hav written  code to draw radial tree in Mindfusion 3.0
Now i hav to upgrade this thing to MindFusion 5.0.

Earlier,I drawn using flowchart class.I used following methods.

[1] Createbox
[2]size
[3].createGroup
[4].createDiagramLink
I used Box  class with following method
[1].fillcolor
[2].Framecolor



In developers Guide you told to replace Flowchart with diagram & diagram View. And Box with ShapeNode 
I did so..


Problem is I can't find corresponding equivalent methods for

          Diagram &
          Shapenode class implementation








  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Moving from older version to new version
Reply #1 - Mar 7th, 2008 at 1:10pm
Print Post  
Hi,

[1] Createbox  -> Diagram.Nodes.Add(new ShapeNode(...)) or Diagram.Factory.CreateShapeNode()
[2]size  -> Bounds
[3].createGroup  -> Diagram.Groups.Add(new Group(...)) or Diagram.Factory.CreateGroup();
[4].createDiagramLink  -> Diagram.Links.Add(new DiagramLink()) or Diagram.Factory.CreateDiagramLink
I used Box  class with following method
[1].fillcolor -> Brush
[2].Framecolor -> Pen

The Diagram.Factory methods let you create items from the standard types, while Nodes.Add and Links.Add let you create items from your custom types as well.

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


I love YaBB 1G - SP1!

Posts: 8
Joined: Mar 5th, 2008
Re: Moving from older version to new version
Reply #2 - Mar 8th, 2008 at 6:26am
Print Post  
Working Fine thank you!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint