Commit 33cf9b96 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

add the main

parent 55bf4d2e
import GeneComponent from "./component/sequence/gene";
import { select, Selection } from "d3-selection";
const genes = [
{ name: "gene 1", length: 1000, strand: 1 },
{ name: "gene 2", length: 500, strand: -1 }
]
const geneComponent = GeneComponent();
const myGenes = select("g#genes");
myGenes.datum(genes).call(geneComponent, 1000, 5, 10);
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