Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) why the shapes on loaded can't be shown as i designed (Read 4816 times)
webdev
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 10
Joined: Nov 8th, 2012
why the shapes on loaded can't be shown as i designed
Nov 15th, 2012 at 7:12am
Print Post  
i designed shapes on shapelist
but when i load my diagram,
the icons aren't show as i wish
they all shown in the same style
border-radius rectangles....
could you help me
  
Back to top
 
IP Logged
 
saad
Full Member
***
Offline


I Love MindFusion!

Posts: 117
Joined: Oct 8th, 2012
Re: why the shapes on loaded can't be shown as i designed
Reply #1 - Nov 15th, 2012 at 3:50pm
Print Post  
i think you have to delete the extra icons in shape designer and keep only the ones you want shown.
  
Back to top
 
IP Logged
 
webdev
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 10
Joined: Nov 8th, 2012
Re: why the shapes on loaded can't be shown as i designed
Reply #2 - Nov 16th, 2012 at 5:15am
Print Post  
sorry,i've designed my own icons,and set the shapelistlibrary for shapelist widget. i  drag icons to the diagram to draw a flowchart ,submitted and saved it. but when i reloaded the flowchart , the icons aren't show as i
designed in the shapelist ......did i forget to set any properties for the diagram?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: why the shapes on loaded can't be shown as i designed
Reply #3 - Nov 16th, 2012 at 7:16am
Print Post  
You should load your shape library before loading the saved diagram. Otherwise the missing shapes are replaced with default rounded rectangles.

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


I Love MindFusion!

Posts: 10
Joined: Nov 8th, 2012
Re: why the shapes on loaded can't be shown as i designed
Reply #4 - Nov 16th, 2012 at 11:28am
Print Post  
could you tell me how to load shape library  to  the diagram.i've set the shapelistbox correctly, and when i drag icons to the diagram ,the icons show correctly. when i saved it and reloaded them, they are shown default style as you told.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: why the shapes on loaded can't be shown as i designed
Reply #5 - Nov 16th, 2012 at 11:45am
Print Post  
In Java mode, setting ShapeLibraryLocation on the listbox will load the shapes only on the client side once the applet is loaded. To load the shapes on the server before the diagram file, call ShapeLibrary.LoadFromXml, or set ShapeLibraryLocation on the DiagramView as well.

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


I Love MindFusion!

Posts: 10
Joined: Nov 8th, 2012
Re: why the shapes on loaded can't be shown as i designed
Reply #6 - Nov 16th, 2012 at 2:44pm
Print Post  
thanks to your help, my problem has almost been solved.
but i settled about 3 pages and designed different shapelist style for them.  i set shapeLibraryLocation for the diagramView and shape list box for them,but when i changed pages,only one of them worked, the default rectangles are shown on the 2 pages...didn't i forget to settle any properties?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: why the shapes on loaded can't be shown as i designed
Reply #7 - Nov 16th, 2012 at 3:09pm
Print Post  
Are these pages in different folders? If they are, try specifying full path when calling ShapeLibrary.Load.
  
Back to top
 
IP Logged
 
webdev
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 10
Joined: Nov 8th, 2012
Re: why the shapes on loaded can't be shown as i designed
Reply #8 - Nov 17th, 2012 at 4:37am
Print Post  
they are in the same folders.
and the problem always exists....
only one of my shapelists could work when i
changed pages
  
Back to top
 
IP Logged
 
webdev
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 10
Joined: Nov 8th, 2012
Re: why the shapes on loaded can't be shown as i designed
Reply #9 - Nov 17th, 2012 at 5:47am
Print Post  
i set 3  sub pages and a main page.
the main page has 3 <a> and a <iframe>
i used <a href="subpages" target="ifm"> to change pages.    i set 3 different shapelibraries and used them  for the 3 sub pages .  the diagramviews and shapelistbox are all set the property --shapelibrarylocation and used relative path.
the problem is :when i  launch the server and wanted to add shapes into the diagramview, only the first page will show correctly. and when i changed pages to another two pages ,the shapes are shown into round rectangles (the shapes are shown correctly in the shapelist box in any case)....
that's my problems.
my project based on the .NET platform and use C#
Cry
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: why the shapes on loaded can't be shown as i designed
Reply #10 - Nov 17th, 2012 at 8:12am
Print Post  
The shapes will be shown as rounded rectangles if they are not defined at the time when you call LoadFromFile. If you are loading different shape libraries for each page, then check if the file you load into DiagramView really contains shapes from the current shape library. As a quick test, try loading all three shape libraries by calling ShapeLibrary.Load before Diagram.Load.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint