Skip to content
Snippets Groups Projects
Commit d12c3dd7 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Merge branch 'operon-struct-type' into operon-struct-type-article

parents f07e134a af7c37fe
No related branches found
No related tags found
No related merge requests found
......@@ -334,6 +334,10 @@ function drawGenes(operonGroup: d3.Selection<SVGGElement, any, SVGElement | null
enter => {
const gOperonItem = enter.append("g")
.classed("operon-item", true)
.on("click", function (event) {
const data = d3.select<SVGElement, StructureOperonGeneWithCoordinate>(this).data()
structureBasket.set(data.map(s => s?.structPath ?? ''))
})
.on("mouseover", function (event) {
const srcSelection = d3.select<SVGElement, StructureOperonGeneWithCoordinate>(event.srcElement)
const node = srcSelection.data()
......
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