Skip to content

Commit d9b8102

Browse files
committed
Updated README
1 parent 7eae276 commit d9b8102

File tree

1 file changed

+1
-37
lines changed

1 file changed

+1
-37
lines changed

README.md

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -24,96 +24,60 @@ var individuals = [
2424
IndividualId: 'm100',
2525
Familyid: 'test',
2626
Gender: 'f',
27-
Mother: '.',
28-
Father: '.',
29-
DZTwin: '.',
30-
MZTwin: '.',
31-
DOB: '.',
3227
Affected: 'a'
3328
}, {
3429
IndividualId: 'm101',
3530
Familyid: 'test',
3631
Gender: 'm',
37-
Mother: '.',
38-
Father: '.',
39-
DZTwin: '.',
40-
MZTwin: '.',
41-
DOB: '.',
4232
Affected: 'b'
4333
}, {
4434
IndividualId: 'm102',
4535
Familyid: 'test',
4636
Gender: 'f',
47-
Mother: '.',
48-
Father: '.',
49-
DZTwin: '.',
50-
MZTwin: '.',
51-
DOB: '.',
5237
Affected: 'c'
5338
}, {
5439
IndividualId: 'm103',
5540
Familyid: 'test',
56-
Gender: '',
5741
Mother: 'm100',
5842
Father: 'm101',
59-
DZTwin: '.',
6043
MZTwin: 'test',
61-
DOB: '.',
6244
Affected: 'a'
6345
}, {
6446
IndividualId: 'm104',
6547
Familyid: 'test',
6648
Gender: 'f',
6749
Mother: 'm102',
6850
Father: 'm101',
69-
DZTwin: '.',
70-
MZTwin: '.',
71-
DOB: '.',
7251
Affected: 'b'
7352
}, {
7453
IndividualId: 'm105',
7554
Familyid: 'test',
76-
Gender: '',
7755
Mother: 'm100',
7856
Father: 'm101',
79-
DZTwin: '.',
8057
MZTwin: 'test',
81-
DOB: '.',
8258
Affected: 'c'
8359
}, {
8460
IndividualId: 'm106',
8561
Familyid: 'test',
8662
Gender: 'm',
87-
Mother: '.',
88-
Father: '.',
89-
DZTwin: '.',
90-
MZTwin: '.',
91-
DOB: '.',
92-
Affected: ''
9363
}, {
9464
IndividualId: 'm107',
9565
Familyid: 'test',
96-
Gender: '',
9766
Mother: 'm104',
9867
Father: 'm106',
9968
DZTwin: 'rest',
100-
MZTwin: '',
101-
DOB: '',
10269
Affected: 'a'
10370
}, {
10471
IndividualId: 'm108',
10572
Familyid: 'test',
106-
Gender: '',
10773
Mother: 'm104',
10874
Father: 'm106',
10975
DZTwin: 'rest',
110-
MZTwin: '',
111-
DOB: '.',
11276
Affected: 'a'
11377
}
11478
];
11579

116-
var svg = Madeline.draw(individuals);
80+
var svg = Madeline.draw(individuals, ['IndividualId', 'DOB']);
11781
```
11882

11983

0 commit comments

Comments
 (0)