Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Provide link on nodes (Read 4716 times)
liza
Full Member
***
Offline


I Love MindFusion!

Posts: 132
Joined: Apr 25th, 2019
Provide link on nodes
Jul 30th, 2019 at 3:52am
Print Post  
Hi,
I want to provide link on nodes, and on that link I will open pop up having guide lines  for drawing a node. Please help me to achieve this
  
Back to top
AIM  
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Provide link on nodes
Reply #1 - Jul 30th, 2019 at 6:25am
Print Post  
Hi,

Check the Embedded Hyperlinks example here -
https://www.mindfusion.eu/onlinehelp/mvcdiagram/index.htm?CC_What_s_New_in_this_...

You can also set DiagramView.HyperlinkClickedScript from server side.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
liza
Full Member
***
Offline


I Love MindFusion!

Posts: 132
Joined: Apr 25th, 2019
Re: Provide link on nodes
Reply #2 - Jul 30th, 2019 at 6:48am
Print Post  
Thanks,
But my text will be diffrent, even I want to provide a icon somewhere in top-right of the node and by clicking on it I need to call a function. Please help.


Slavcho wrote on Jul 30th, 2019 at 6:25am:
Hi,

Check the Embedded Hyperlinks example here -
https://www.mindfusion.eu/onlinehelp/mvcdiagram/index.htm?CC_What_s_New_in_this_...

You can also set DiagramView.HyperlinkClickedScript from server side.

Regards,
Slavcho
Mindfusion

  
Back to top
AIM  
IP Logged
 
liza
Full Member
***
Offline


I Love MindFusion!

Posts: 132
Joined: Apr 25th, 2019
Re: Provide link on nodes
Reply #3 - Jul 30th, 2019 at 6:51am
Print Post  
Thanks,
But my text will be diffrent, even I want to provide a icon somewhere in top-right of the node and by clicking on it I need to call a function. Please help.
  
Back to top
AIM  
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Provide link on nodes
Reply #4 - Jul 30th, 2019 at 6:53am
Print Post  
If you don't want hyperlinks embedded within the text but a separate UI element for the explanation, consider these options -

- a TableNode displaying main text in one cell and a more-info icon in another cell;
- a CompositeNode displaying main text in a Text component and a more-info icon in Image component;
- attached node displaying the icon placed over the main node;
- if your node does not already display another image, you could show the icon by setting node's Image and ImageAlign properties;
  
Back to top
 
IP Logged
 
liza
Full Member
***
Offline


I Love MindFusion!

Posts: 132
Joined: Apr 25th, 2019
Re: Provide link on nodes
Reply #5 - Jul 30th, 2019 at 10:18am
Print Post  
how can I give icon and onclick event of it on each node.?
  
Back to top
AIM  
IP Logged
 
liza
Full Member
***
Offline


I Love MindFusion!

Posts: 132
Joined: Apr 25th, 2019
Re: Provide link on nodes
Reply #6 - Jul 30th, 2019 at 10:22am
Print Post  
I also want to give a placeholder in node, can I achieve it and how?
  
Back to top
AIM  
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Provide link on nodes
Reply #7 - Jul 30th, 2019 at 10:57am
Print Post  
If you mean placeholder text, you could assign one to node.Text and set textColor to a light-gray until nodeTextEdited is raised.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint