NorthwoodsSoftware

NorthwoodsSoftware

World-class diagramming libraries to drive your data in the Web and beyond

Member Since 7 years ago

Nashua, NH, USA

Experience Points
0
follower
Lessons Completed
0
follow
Best Reply Awards
11
repos
Activity
Nov
27
1 day ago
Activity icon
fork

ocunning forked NorthwoodsSoftware/GoJS

⚡ JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
ocunning Updated
fork time in 1 day ago
Nov
26
2 days ago
started
started time in 2 days ago
Activity icon
fork

dezine2dev forked NorthwoodsSoftware/GoJS

⚡ JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
dezine2dev Updated
fork time in 2 days ago
Nov
25
3 days ago
Activity icon
fork

CamiloBrvo forked NorthwoodsSoftware/GoJS

⚡ JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
CamiloBrvo Updated
fork time in 3 days ago
Activity icon
fork

smile-ttxp forked NorthwoodsSoftware/GoJS

⚡ JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
smile-ttxp Updated
fork time in 3 days ago
started
started time in 3 days ago
started
started time in 3 days ago
Nov
24
4 days ago
started
started time in 4 days ago
started
started time in 4 days ago
Activity icon
fork

lql670520 forked NorthwoodsSoftware/GoJS

⚡ JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
lql670520 Updated
fork time in 4 days ago
Activity icon
fork

smfoo85 forked NorthwoodsSoftware/GoJS

⚡ JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
smfoo85 Updated
fork time in 4 days ago
started
started time in 4 days ago
Nov
23
5 days ago
Activity icon
fork

kurollo forked NorthwoodsSoftware/GoJS

⚡ JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
kurollo Updated
fork time in 5 days ago
Activity icon
created tag
createdAt 5 days ago
Activity icon
published release 2.1.54

WalterNorthwoods in NorthwoodsSoftware/GoJS create published release 2.1.54

createdAt 5 days ago
push

WalterNorthwoods push NorthwoodsSoftware/GoJS

WalterNorthwoods
WalterNorthwoods

2.1.54

Changes for 2.1.54

  • Fixed Diagram.viewSize when setting it to a real value and then later setting it back to a NaN value.
  • As with 2.1.52, fixed more scenarios with custom animations improperly adding state to the AnimationManager.defaultAnimation.
  • Fixed rare cases of LayeredDigraphLayout trying to get the "centerX" property of a null vertex.

commit sha: 91136c2ee971725c66b6a4990d6e2aca5ffc2c97

push time in 5 days ago
started
started time in 5 days ago
Activity icon
fork

fiskeboller2k forked NorthwoodsSoftware/GoJS

⚡ JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
fiskeboller2k Updated
fork time in 5 days ago
Nov
22
6 days ago
Activity icon
issue

WalterNorthwoods issue comment NorthwoodsSoftware/GoJS

WalterNorthwoods
WalterNorthwoods

Cannot read properties of null (reading 'centerX')

Hello, I have this data

[{ key: "1", n: "1", s: "M"   ,  ux:"2"   },
{ key: "2", n: "2", s: "F"    ,  vir:"1"   },
{ key: "8", n: "8", s: "F"  ,  vir:"17" , m: "2" , f: "1"},
{ key: "17", n: "17", s: "M"  ,  ux:"8"    }]

and Im getting error here

image

because id 17 was not created.

image

I use code from your example https://github.com/NorthwoodsSoftware/GoJS/blob/master/samples/genogram.html

Can you please help to fix it?

Problem is in { key: "8", n: "8", s: "F" , vir:"17" , m: "2" , f: "1"},

Because it works with { key: "8", n: "8", s: "F" , vir:"17" },

also it works if I change ID to int. But with full data

[{ key: 1, n: "1", s: "M"   ,  ux:[2,12,90,160]   },
{ key: 2, n: "2", s: "F"    ,  vir:1  },
{ key: 8, n: "8", s: "F" , m: 2 , f: 1  ,  vir:17  },
{ key: 12, n: "12", s: "F"    ,  vir:[1,19,109,164]  },
{ key: 13, n: "13", s: "F" , m: 12 , f: 1  ,  vir:[19,63,72,101,109,163]  },
{ key: 15, n: "15", s: "F" , m: 12 , f: 1  ,  vir:[19,166]  },
{ key: 17, n: "17", s: "M"   ,  ux:8   },
{ key: 19, n: "19", s: "M" , m: 8 , f: 17 ,  ux:[12,13,15,35,76,88,116]   },
{ key: 27, n: "27", s: "M" , m: 8 , f: 17 ,  ux:32   },
{ key: 32, n: "32", s: "F" , m: 13 , f: 19  ,  vir:27  },
{ key: 35, n: "35", s: "F" , m: 15 , f: 19  ,  vir:[19,63,101,163]  },
{ key: 63, n: "63", s: "M"   ,  ux:[13,35]   },
{ key: 72, n: "72", s: "M"   ,  ux:13   },
{ key: 76, n: "76", s: "F" , m: 13 , f: 72  ,  vir:[19,101]  },
{ key: 88, n: "88", s: "F"    ,  vir:[19,101]  },
{ key: 90, n: "90", s: "F" , m: 88 , f: 19  ,  vir:[1,101]  },
{ key: 101, n: "101", s: "M"   ,  ux:[13,35,76,88,90]   },
{ key: 109, n: "109", s: "M"   ,  ux:[12,13]   },
{ key: 111, n: "111", s: "F" , m: 13 , f: 109  ,  vir:117  },
{ key: 116, n: "116", s: "F" , m: 88 , f: 101  ,  vir:[19,164]  },
{ key: 117, n: "117", s: "M" , m: 88 , f: 101 ,  ux:111   },
{ key: 153, n: "153", s: "F" , m: 90 , f: 1  ,  vir:164  },
{ key: 160, n: "160", s: "F" , m: 88 , f: 101  ,  vir:1  },
{ key: 163, n: "163", s: "M" , m: 88 , f: 101 ,  ux:[13,35]   },
{ key: 164, n: "164", s: "M"   ,  ux:[12,116,153,223]   },
{ key: 166, n: "166", s: "M" , m: 116 , f: 164 ,  ux:15   },
{ key: 223, n: "223", s: "F"    ,  vir:164  }]

Im gettig error Cannot read properties of null (reading 'centerX')

image

http://jsfiddle.net/Risay/ehcyvp50/

WalterNorthwoods
WalterNorthwoods

Thanks for providing a reproducible case. The bug fix will be in version 2.1.54, which should be coming out pretty soon.

Activity icon
issue

WalterNorthwoods issue NorthwoodsSoftware/GoJS

WalterNorthwoods
WalterNorthwoods

Cannot read properties of null (reading 'centerX')

Hello, I have this data

[{ key: "1", n: "1", s: "M"   ,  ux:"2"   },
{ key: "2", n: "2", s: "F"    ,  vir:"1"   },
{ key: "8", n: "8", s: "F"  ,  vir:"17" , m: "2" , f: "1"},
{ key: "17", n: "17", s: "M"  ,  ux:"8"    }]

and Im getting error here

image

because id 17 was not created.

image

I use code from your example https://github.com/NorthwoodsSoftware/GoJS/blob/master/samples/genogram.html

Can you please help to fix it?

Problem is in { key: "8", n: "8", s: "F" , vir:"17" , m: "2" , f: "1"},

Because it works with { key: "8", n: "8", s: "F" , vir:"17" },

also it works if I change ID to int. But with full data

[{ key: 1, n: "1", s: "M"   ,  ux:[2,12,90,160]   },
{ key: 2, n: "2", s: "F"    ,  vir:1  },
{ key: 8, n: "8", s: "F" , m: 2 , f: 1  ,  vir:17  },
{ key: 12, n: "12", s: "F"    ,  vir:[1,19,109,164]  },
{ key: 13, n: "13", s: "F" , m: 12 , f: 1  ,  vir:[19,63,72,101,109,163]  },
{ key: 15, n: "15", s: "F" , m: 12 , f: 1  ,  vir:[19,166]  },
{ key: 17, n: "17", s: "M"   ,  ux:8   },
{ key: 19, n: "19", s: "M" , m: 8 , f: 17 ,  ux:[12,13,15,35,76,88,116]   },
{ key: 27, n: "27", s: "M" , m: 8 , f: 17 ,  ux:32   },
{ key: 32, n: "32", s: "F" , m: 13 , f: 19  ,  vir:27  },
{ key: 35, n: "35", s: "F" , m: 15 , f: 19  ,  vir:[19,63,101,163]  },
{ key: 63, n: "63", s: "M"   ,  ux:[13,35]   },
{ key: 72, n: "72", s: "M"   ,  ux:13   },
{ key: 76, n: "76", s: "F" , m: 13 , f: 72  ,  vir:[19,101]  },
{ key: 88, n: "88", s: "F"    ,  vir:[19,101]  },
{ key: 90, n: "90", s: "F" , m: 88 , f: 19  ,  vir:[1,101]  },
{ key: 101, n: "101", s: "M"   ,  ux:[13,35,76,88,90]   },
{ key: 109, n: "109", s: "M"   ,  ux:[12,13]   },
{ key: 111, n: "111", s: "F" , m: 13 , f: 109  ,  vir:117  },
{ key: 116, n: "116", s: "F" , m: 88 , f: 101  ,  vir:[19,164]  },
{ key: 117, n: "117", s: "M" , m: 88 , f: 101 ,  ux:111   },
{ key: 153, n: "153", s: "F" , m: 90 , f: 1  ,  vir:164  },
{ key: 160, n: "160", s: "F" , m: 88 , f: 101  ,  vir:1  },
{ key: 163, n: "163", s: "M" , m: 88 , f: 101 ,  ux:[13,35]   },
{ key: 164, n: "164", s: "M"   ,  ux:[12,116,153,223]   },
{ key: 166, n: "166", s: "M" , m: 116 , f: 164 ,  ux:15   },
{ key: 223, n: "223", s: "F"    ,  vir:164  }]

Im gettig error Cannot read properties of null (reading 'centerX')

image

http://jsfiddle.net/Risay/ehcyvp50/

started
started time in 6 days ago
Activity icon
issue

NGabriela issue comment NorthwoodsSoftware/gojs-angular

NGabriela
NGabriela

Support for component method as callback to diagram events

Adding angular's component member function as callback to context menu button click is giving error

TypeError: `functionName` is not a function

The stackblitz example: https://stackblitz.com/edit/angular-gojs-family-tree

I have added two menu for explanation where first menu is working fine but the second one where callback method is used is not working.

I also tried to bind the callback to this context using

click: this.buttonCallback.bind(this)

But error is still there.

Same issue is being faced where external methods are being used to return some value to the diagram properties.

Ex.,

$(go.TextBlock, this.getStyle(), new go.Binding('text', 'name'));

private getStyle() {
   return {
        font: '700 12px Droid Serif, sans-serif',
        textAlign: 'center',
        margin: 10, maxSize: new go.Size(80, NaN)
   };
}
NGabriela
NGabriela

I fixed the issue by using initDiagram.bind(this). I am able to access any instance of my enclosing component inside initDiagram.

started
started time in 6 days ago
Nov
21
1 week ago
Activity icon
issue

LadyR123 issue NorthwoodsSoftware/GoJS

LadyR123
LadyR123

Problem with define the vertex size when multiple ux and vir

Hello, I have this data

[{ key: "1", n: "1", s: "M"   ,  ux:["2","12","90","160"]   },
{ key: "2", n: "2", s: "F"    ,  vir:"1"  },
{ key: "8", n: "8", s: "F" , m: "2" , f: "1"  ,  vir:"17"  },
{ key: "12", n: "12", s: "F"    ,  vir:["1","19","109","164"]  },
{ key: "13", n: "13", s: "F" , m: "12" , f: "1"  ,  vir:["19","63","72","101","109","163"]  },
{ key: "15", n: "15", s: "F" , m: "12" , f: "1"  ,  vir:["19","166"]  },
{ key: "17", n: "17", s: "M"   ,  ux:"8"   },
{ key: "19", n: "19", s: "M" , m: "8" , f: "17" ,  ux:["12","13","15","35","76","88","116"]   },
{ key: "27", n: "27", s: "M" , m: "8" , f: "17" ,  ux:"32"   },
{ key: "32", n: "32", s: "F" , m: "13" , f: "19"  ,  vir:"27"  },
{ key: "35", n: "35", s: "F" , m: "15" , f: "19"  ,  vir:["19","63","101","163"]  },
{ key: "63", n: "63", s: "M"   ,  ux:["13","35"]   },
{ key: "72", n: "72", s: "M"   ,  ux:"13"   },
{ key: "76", n: "76", s: "F" , m: "13" , f: "72"  ,  vir:["19","101"]  },
{ key: "88", n: "88", s: "F"    ,  vir:["19","101"]  },
{ key: "90", n: "90", s: "F" , m: "88" , f: "19"  ,  vir:["1","101"]  },
{ key: "101", n: "101", s: "M"   ,  ux:["13","35","76","88","90"]   },
{ key: "109", n: "109", s: "M"   ,  ux:["12","13"]   },
{ key: "111", n: "111", s: "F" , m: "13" , f: "109"  ,  vir:"117"  },
{ key: "116", n: "116", s: "F" , m: "88" , f: "101"  ,  vir:["19","164"]  },
{ key: "117", n: "117", s: "M" , m: "88" , f: "101" ,  ux:"111"   },
{ key: "153", n: "153", s: "F" , m: "90" , f: "1"  ,  vir:"164"  },
{ key: "160", n: "160", s: "F" , m: "88" , f: "101"  ,  vir:"1"  },
{ key: "163", n: "163", s: "M" , m: "88" , f: "101" ,  ux:["13","35"]   },
{ key: "164", n: "164", s: "M"   ,  ux:["12","116","153","223"]   },
{ key: "166", n: "166", s: "M" , m: "116" , f: "164" ,  ux:"15"   },
{ key: "223", n: "223", s: "F"    ,  vir:"164"  }]

and Im getting error here

image

because id 17 was not created.

image

I use code from your example https://github.com/NorthwoodsSoftware/GoJS/blob/master/samples/genogram.html

Can you please help to fix it?

Previous