Page Index Toggle Pages: 1 ... 13 14 [15] 16 17 ... 21 Send TopicPrint
Locked Topic Link between two nodes (Read 129227 times)
shrinivas
Full Member
***
Offline


I Love MindFusion!

Posts: 169
Joined: May 21st, 2014
Re: Link between two nodes
Reply #210 - Jul 24th, 2014 at 10:15am
 
Can you tell me exact version of VISIO which supports diagrams generated from MindFusion.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Link between two nodes
Reply #211 - Jul 24th, 2014 at 11:25am
 
VisioExporter creates files in Visio 2003 VDX format. Newer versions should be able to open them too.
  
Back to top
 
IP Logged
 
shrinivas
Full Member
***
Offline


I Love MindFusion!

Posts: 169
Joined: May 21st, 2014
Re: Link between two nodes
Reply #212 - Jul 25th, 2014 at 3:43am
 
Can u tell me how to zoom in and out diagrams on web page ?
  
Back to top
 
IP Logged
 
shrinivas
Full Member
***
Offline


I Love MindFusion!

Posts: 169
Joined: May 21st, 2014
Re: Link between two nodes
Reply #213 - Jul 25th, 2014 at 4:15am
 
Like magnifier by simply using scroll button of mouse.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Link between two nodes
Reply #214 - Jul 25th, 2014 at 5:17am
 
You could change the ZoomFactor property from mousewheel event handler:

Code
Select All
function onLoad()
{
	$get("diagramView").addEventListener("mousewheel", onMouseWheel, false);
	$get("diagramView").addEventListener("DOMMouseScroll", onMouseWheel, false); // firefox
}

function onMouseWheel(e)
{
	var diagram = $find("diagramView");
	var oldZoom = diagram.getZoomFactor();
	var newZoom = Math.max(10,
		oldZoom + (e.wheelDelta / 60 || -e.detail / 2));
	diagram.setZoomFactor(newZoom);
	return false;
} 



I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
shrinivas
Full Member
***
Offline


I Love MindFusion!

Posts: 169
Joined: May 21st, 2014
Re: Link between two nodes
Reply #215 - Jul 25th, 2014 at 8:30am
 
When I am exporting to VISIO format its not displaying color :"#00CCFF" Its showing white but in web page its proper even in PDF also correct.

Can u tell me any solution on that?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Link between two nodes
Reply #216 - Jul 25th, 2014 at 10:51am
 
To what property are you assigning that color?
  
Back to top
 
IP Logged
 
shrinivas
Full Member
***
Offline


I Love MindFusion!

Posts: 169
Joined: May 21st, 2014
Re: Link between two nodes
Reply #217 - Jul 25th, 2014 at 12:15pm
 
Stoyo wrote on Jul 25th, 2014 at 5:17am:
You could change the ZoomFactor property from mousewheel event handler:

Code
Select All
function onLoad()
{
	$get("diagramView").addEventListener("mousewheel", onMouseWheel, false);
	$get("diagramView").addEventListener("DOMMouseScroll", onMouseWheel, false); // firefox
}

function onMouseWheel(e)
{
	var diagram = $find("diagramView");
	var oldZoom = diagram.getZoomFactor();
	var newZoom = Math.max(10,
		oldZoom + (e.wheelDelta / 60 || -e.detail / 2));
	diagram.setZoomFactor(newZoom);
	return false;
} 



I hope that helps,
Stoyan


Its not catching the event
  
Back to top
 
IP Logged
 
shrinivas
Full Member
***
Offline


I Love MindFusion!

Posts: 169
Joined: May 21st, 2014
Re: Link between two nodes
Reply #218 - Jul 25th, 2014 at 1:58pm
 
Hello,

I have attached XML with VISIO file, can u tell me why some nodes have not colored, why its showing in white color ?

  

XML_VDX.zip (Attachment deleted)
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Link between two nodes
Reply #219 - Jul 28th, 2014 at 4:52am
 
Quote:
Its not catching the event


Have you set the onLoad function as a body.onload handler?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Link between two nodes
Reply #220 - Jul 28th, 2014 at 5:09am
 
Quote:
I have attached XML with VISIO file, can u tell me why some nodes have not colored, why its showing in white color ?


#0000CCFF is a fully transparent color, that's why the shapes are without fill in Visio (and in NetDiagram they show the diagram's background brush). Change it to #FF00CCFF instead.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
shrinivas
Full Member
***
Offline


I Love MindFusion!

Posts: 169
Joined: May 21st, 2014
Re: Link between two nodes
Reply #221 - Jul 28th, 2014 at 9:17am
 
Stoyo wrote on Jul 28th, 2014 at 4:52am:
Quote:
Its not catching the event


Have you set the onLoad function as a body.onload handler?


Following error occurred
JavaScript runtime error: Unable to get property 'addEventListener' of undefined or null reference
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Link between two nodes
Reply #222 - Jul 28th, 2014 at 9:35am
 
If you are trying to add the handler from JavaScript, see http://stackoverflow.com/questions/10839642/addeventlistener-not-working
  
Back to top
 
IP Logged
 
shrinivas
Full Member
***
Offline


I Love MindFusion!

Posts: 169
Joined: May 21st, 2014
Re: Link between two nodes
Reply #223 - Jul 28th, 2014 at 12:39pm
 
Stoyo wrote on Jul 28th, 2014 at 9:35am:
If you are trying to add the handler from JavaScript, see http://stackoverflow.com/questions/10839642/addeventlistener-not-working


Thanks Its working.
  
Back to top
 
IP Logged
 
shrinivas
Full Member
***
Offline


I Love MindFusion!

Posts: 169
Joined: May 21st, 2014
Re: Link between two nodes
Reply #224 - Jul 28th, 2014 at 12:42pm
 
I have moved MindFusion.Js file to JS folder of my project then Its giving error and if i keep in parent folder i.e my project folder then its working,

even I have added reference of JS as well as given proper path still same problem, Can you tell me solution on that?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 ... 13 14 [15] 16 17 ... 21
Send TopicPrint