Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Cannot create link from ShapeNode. Won't initiate LinkCreating (Read 1574 times)
Viev
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 15
Location: Australia
Joined: Jan 3rd, 2015
Cannot create link from ShapeNode. Won't initiate LinkCreating
May 13th, 2022 at 2:03am
Print Post  
Hi there,

I can't create links from a ShapeNode. Every time I try, the lasso multi-select box appears, rather than starting to draw a shape.

See attached.

DiagramView
    Behavior = DrawLinks

Shape
    AllowOutgoinglinks = True
    HandlesStyle = HandlesStyle.Invisible
    EnabledHandles = AdjustmentHandles.Move

I don't understand.

There is some simple setting on either DiagramView, Diagram or ShapeNode that is missing and I can't seem to find it.

Any information most welcome.
Sincerely,
Victor
  

2022-05-13_12_00_21.png ( 6 KB | 72 Downloads )
2022-05-13_12_00_21.png
Back to top
 
IP Logged
 
Viev
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 15
Location: Australia
Joined: Jan 3rd, 2015
Re: Cannot create link from ShapeNode. Won't initiate LinkCreating
Reply #1 - May 13th, 2022 at 2:44am
Print Post  
Solved - Below

Diagram
    AllowUnanchoredLinks = True

I also set AllowUnconnectedLinks = True
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3153
Joined: Oct 19th, 2005
Re: Cannot create link from ShapeNode. Won't initiate LinkCreating
Reply #2 - May 13th, 2022 at 7:37am
Print Post  
Hi Victor,

Indeed, this from the docs:

Quote:
true to let links connect to nodes without anchor points; otherwise, false. The default is true.

Remarks
AllowUnanchoredLinks applies to nodes whose AnchorPattern is not set or does not contain incoming or outgoing anchor points available. If the property is enabled, users can connect links to any point of such nodes. If disabled, users cannot connect links to such nodes


Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint