gedcom-d3 2.0.6 → 2.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/d3ize.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# gedcom-d3
|
|
2
2
|
Based on [tmcw/parse-gedcom](https://github.com/tmcw/parse-gedcom), this project seeks to improve d3ize functionality to make Gedom data in more fully-functional d3 capable JSON, specifically for use in plotting with [vasturiano/3d-force-graph](https://github.com/vasturiano/3d-force-graph).
|
|
3
3
|
|
|
4
|
-
View an implementation at [mister-blanket/
|
|
4
|
+
View an implementation at [mister-blanket/blood-lines](https://github.com/mister-blanket/blood-lines)
|
|
5
5
|
|
|
6
6
|
## Usage
|
|
7
7
|
|
package/d3ize.js
CHANGED
|
@@ -557,7 +557,7 @@ const familyLinks = (family, peopleNodes) => {
|
|
|
557
557
|
|
|
558
558
|
// Filter only individual objects from family tree
|
|
559
559
|
let memberSet = family.tree.filter(function(member) {
|
|
560
|
-
return member.
|
|
560
|
+
return member.tag && (member.tag === 'HUSB' || member.tag === 'WIFE' || member.tag === 'CHIL');
|
|
561
561
|
})
|
|
562
562
|
|
|
563
563
|
// Filter marital status events
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gedcom-d3",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"description": "A GEDCOM parser, which translates GEDCOM (.ged) files into D3 capable JSON. This package is specifically designed to prepare data for use in https://github.com/mister-blanket/kin-cloud",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|