Page Index Toggle Pages: 1 [2]  Send TopicPrint
Very Hot Topic (More than 25 Replies) mark link branch (Read 17715 times)
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: mark link branch
Reply #15 - May 18th, 2017 at 4:21pm
Print Post  
Try LinkMergeIndicator, MergeIndicatorColor, MergeIndicatorSize properties here -
https://mindfusion.eu/_temp/fcnet_merge.zip

Regards,
Slavcho
  

Untitled_002.png ( 8 KB | 155 Downloads )
Untitled_002.png
Back to top
 
IP Logged
 
NiceGuy
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 14
Joined: Feb 13th, 2017
Re: mark link branch
Reply #16 - Jun 21st, 2017 at 1:52pm
Print Post  
Hi, thanks for your beta. But here are unfortunately a few inconsistencies.

Best regards.
  

Dots.png ( 15 KB | 171 Downloads )
Dots.png
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: mark link branch
Reply #17 - Jun 22nd, 2017 at 8:32am
Print Post  
Does it show an adjustment handle there is you select the links?
  
Back to top
 
IP Logged
 
NiceGuy
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 14
Joined: Feb 13th, 2017
Re: mark link branch
Reply #18 - Jun 23rd, 2017 at 5:50am
Print Post  
Hello, the black dots are the ones we would expect.
  

Dots_001.png ( 10 KB | 127 Downloads )
Dots_001.png
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: mark link branch
Reply #19 - Jun 28th, 2017 at 11:48am
Print Post  
This build should fix it -
https://mindfusion.eu/_temp/fcnet_merge.zip

Regards,
Slavcho
  
Back to top
 
IP Logged
 
NiceGuy
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 14
Joined: Feb 13th, 2017
Re: mark link branch
Reply #20 - Jul 6th, 2017 at 12:32pm
Print Post  
Hi, yes the points are right, very good work. However, I can not affect the size of the points correctly. Can it be that the size internally is still influenced?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: mark link branch
Reply #21 - Jul 6th, 2017 at 1:45pm
Print Post  
There's a separate MergeIndicatorSize property for merger points, have you set it?

Regards,
Slavcho
  
Back to top
 
IP Logged
 
NiceGuy
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 14
Joined: Feb 13th, 2017
Re: mark link branch
Reply #22 - Jul 6th, 2017 at 2:08pm
Print Post  
Yes I have made, but starting from a certain size, this is no longer used, I need the points smaller. If I enter 10 or 0.5 the point always has the same size.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: mark link branch
Reply #23 - Jul 6th, 2017 at 2:13pm
Print Post  
So it was using merge size for branch points and the other way around. This should fix it -
https://mindfusion.eu/_temp/fcnet_merge.zip

Code
Select All
diagram.MergeIndicatorSize = 20;
diagram.MergeIndicatorColor = Color.Red;

diagram.BranchIndicatorSize = 15;
diagram.BranchIndicatorColor = Color.Green; 




Regards,
Slavcho
  
Back to top
 
IP Logged
 
NiceGuy
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 14
Joined: Feb 13th, 2017
Re: mark link branch
Reply #24 - Jul 6th, 2017 at 3:18pm
Print Post  
Wonderful, it works. Many Thanks  Smiley
  
Back to top
 
IP Logged
 
NiceGuy
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 14
Joined: Feb 13th, 2017
Re: mark link branch
Reply #25 - Aug 22nd, 2017 at 6:00pm
Print Post  
Hello, I have another question.
Can you provide me a way to attach to the drawing routine? It would be best to get coordinates for each circle (branch and merge indicator).

I need a way to make the circle look different, unfortunately it is not enough to influence only the size and color.

Best regards
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: mark link branch
Reply #26 - Aug 24th, 2017 at 8:36am
Print Post  
Hi,

This adds Custom element to BranchIndicator enumeration -
https://mindfusion.eu/_beta/fcnet65.zip

Assign it to LinkMergeIndicator and / or LinkBranchIndicator and the diagram will raise DrawBranchIndicator event -
Code
Select All
void OnDrawBranchIndicator(object sender, DrawBranchIndicatorEventArgs e)
{
	e.Graphics.DrawRectangle(
		e.Merge ? Pens.Red : Pens.Green,
		e.Position.X - 1, e.Position.Y - 1, 2, 2);
} 



Regards,
Slavcho
  
Back to top
 
IP Logged
 
NiceGuy
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 14
Joined: Feb 13th, 2017
Re: mark link branch
Reply #27 - Aug 26th, 2017 at 4:05pm
Print Post  
Thank you very much for the fantastic work, you saved my day.  Smiley

Best regards
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint