Skip to content

Commit

Permalink
minor changes. commit to make a branch
Browse files Browse the repository at this point in the history
  • Loading branch information
cnobre committed Apr 2, 2017
1 parent c5011d8 commit 76a67e3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export class App {

/** ===== PUBLIC CASE ===== */

// await tableManager.loadData('TenFamiliesDescendAnon', 'TenFamiliesAttrAnon');
await tableManager.loadData('TwoFamiliesDescendAnon', 'TwoFamiliesAttrAnon');
await tableManager.loadData('TenFamiliesDescendAnon', 'TenFamiliesAttrAnon');
// await tableManager.loadData('TwoFamiliesDescendAnon', 'TwoFamiliesAttrAnon');



Expand Down
5 changes: 4 additions & 1 deletion src/genealogyTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,8 @@ class GenealogyTree {

edgePathsEnter.attr('opacity', 0);

// edgePaths.attr('opacity',0)

edgePaths
.attr('class', 'edges')
// .transition(t)
Expand All @@ -674,7 +676,8 @@ class GenealogyTree {
});

edgePaths
.transition(t.transition().duration(1000).ease(easeLinear))
// .transition(t.transition().duration(1000).ease(easeLinear))
.transition('t')
.attr('opacity', 1)
.attr('stroke-width', Config.glyphSize / 5);

Expand Down
2 changes: 1 addition & 1 deletion src/tableManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export default class TableManager {
// ['KindredID','PersonID', 'Asthma', 'Bipolar', 'sex', 'deceased', 'suicide', 'gen', 'Age', 'FirstBMI', 'AgeFirstBMI', 'race', 'cause_death', 'weapon']; //set of default cols to read in, minimizes load time for large files;

private defaultCols: String[] =
['KindredID', 'RelativeID', 'sex', 'deceased', 'suicide', 'Depression', 'Age1D_Depression', 'Nr.Diag_Depression', 'Bipolar', 'Age1D_Bipolar', 'Nr.Diag_Bipolar', 'MaxBMI', 'AgeMaxBMI', 'race','cause_death', 'weapon']; //set of default cols to read in, minimizes load time for large files;
['KindredID', 'RelativeID', 'sex', 'deceased', 'suicide', 'Depression','Age', 'Age1D_Depression', 'Nr.Diag_Depression', 'Bipolar', 'Age1D_Bipolar', 'Nr.Diag_Bipolar', 'MaxBMI', 'AgeMaxBMI', 'race','cause_death', 'weapon']; //set of default cols to read in, minimizes load time for large files;



Expand Down

0 comments on commit 76a67e3

Please sign in to comment.