Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Inspect Mind Fusion Diagram ! (Read 3101 times)
Kannan Thirumal
Senior Member
****
Offline


I Love Mind Fusion Diagram
:-)

Posts: 284
Location: Bangalore, India
Joined: Jan 18th, 2019
Inspect Mind Fusion Diagram !
Nov 4th, 2019 at 11:44am
Print Post  
Hi,

     May I know how to inspect mind fusion diagram control?

Regards,
Kannan
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Inspect Mind Fusion Diagram !
Reply #1 - Nov 4th, 2019 at 12:14pm
Print Post  
What do you mean by 'inspect' - traversing the nodes and links inside?
  
Back to top
 
IP Logged
 
Kannan Thirumal
Senior Member
****
Offline


I Love Mind Fusion Diagram
:-)

Posts: 284
Location: Bangalore, India
Joined: Jan 18th, 2019
Re: Inspect Mind Fusion Diagram !
Reply #2 - Nov 4th, 2019 at 12:47pm
Print Post  
Yes, I want to inspect the nodes and links. When I try to do in chrome, the canvas is selected not the individual nodes.
  

Inspect_Diagram_Elements.png (Attachment deleted)
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Inspect Mind Fusion Diagram !
Reply #3 - Nov 4th, 2019 at 1:22pm
Print Post  
These are not HTML elements but objects drawn via Canvas API, so HTML inspector won't be of much use. You should be able to see nodes' attribute values in debugger window instead, expanding the diagram.nodes array and checking its elements.
  
Back to top
 
IP Logged
 
Kannan Thirumal
Senior Member
****
Offline


I Love Mind Fusion Diagram
:-)

Posts: 284
Location: Bangalore, India
Joined: Jan 18th, 2019
Re: Inspect Mind Fusion Diagram !
Reply #4 - Nov 4th, 2019 at 1:39pm
Print Post  
Is there any other way to inspect the diagram nodes?

I tried the below approach but couldn't achieve it.

https://www.html5rocks.com/en/tutorials/canvas/inspection/
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Inspect Mind Fusion Diagram !
Reply #5 - Nov 4th, 2019 at 3:45pm
Print Post  
Well, you could print node attributes you are interested in to console from nodeClicked event handler Smiley Or set a breakpoint in the handler and use the debugger watch window to inspect args.node. If you need more fancy inspection, I guess you could create a debug-mode UI for your page that lists clicked node attributes inside a grid / table element. There's nothing built-in for that otherwise.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint