Commit 3c03d6d1 authored by Remi  PLANEL's avatar Remi PLANEL

container class name from phylotree to phylogram

parent d71ab10a
......@@ -12,14 +12,16 @@ export default function () {
HierarchyPointNode<PhyloTreeNode>[], any, any>
) {
const classes = {
root: "phylogram",
root: "phylotree",
nodes: "nodes",
links: "links"
};
_selection.each(function (_data) {
const phylogram = select(this)
.selectAll<SVGGElement, HierarchyPointNode<PhyloTreeNode>>("g" + classes.root)
.selectAll<SVGGElement, HierarchyPointNode<PhyloTreeNode>>("." + classes.root)
.data(_data);
......
......@@ -57,9 +57,9 @@ container
describe("Test phylotree component", () => {
const phylogramGroup = container.selectAll(".phylogram");
const phylogramGroup = container.selectAll(".phylotree");
const rootNode = container
.selectAll<SVGGElement, HierarchyPointNode<PhyloTreeNode>>(".phylogram")
.selectAll<SVGGElement, HierarchyPointNode<PhyloTreeNode>>(".phylotree")
.selectAll<SVGGElement, HierarchyPointNode<PhyloTreeNode>>(".generic-node")
.filter(d => d.data.name === "root");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment