Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

TreeMapping :: fromLinkable for more than 2 groups

$
0
0

@senoz wrote:

In GoJs, Could you please give us the soultion for tree mapping.

fromLinkable how to allow if its more than 2 groups. Its not allowing to liink… Link is not enabled to connect. Could you please help ?

const fromLinkMethod = (k) => {
  return k ==='Source';
};
const toLinkMethod = (k) => {
  return k ==='Destination';
};
const fromPVLinkMethod = (k) => {
  return k === 'Source1';
};
.......
new go.Binding('fromLinkable', 'group', fromLinkMethod ),

new go.Binding('toLinkable', 'group', toLinkMethod ),

new go.Binding('fromLinkable', 'group', fromPVLinkMethod ),

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles