Skip to content

Commit

Permalink
Merge pull request #64 from clockor2/dev
Browse files Browse the repository at this point in the history
fix: remove old node node vis properties
  • Loading branch information
LeoFeatherstone authored Apr 18, 2024
2 parents 8dfb757 + e06a7ff commit 5a80f9e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/tree/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ export class Node {
annotation: { [key: string]: string | string[] | null };
/** ID of node if hybrid */
hybridID: number | undefined;
/** Node is collapsed? */
collapsed: boolean | undefined;
/** Cartoon boolean */
cartoon: boolean | undefined;

/**
* The constructor of the `Node` class.
Expand Down Expand Up @@ -143,9 +139,6 @@ export class Node {
nodeCopy.id = this.id;
nodeCopy.hybridID = this.hybridID;

nodeCopy.collapsed = this.collapsed;
nodeCopy.cartoon = this.cartoon;

for (let i = 0; i < this.children.length; i++)
nodeCopy.addChild(this.children[i].copy());

Expand Down

0 comments on commit 5a80f9e

Please sign in to comment.