Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Remi PLANEL
bioviz-js
Commits
e438a1b0
Commit
e438a1b0
authored
Apr 10, 2019
by
Remi PLANEL
Browse files
Rename type GlobalAxisData -> BrushableAxisData
parent
8f5dd64a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripts/types.ts
View file @
e438a1b0
import
{
ScaleLinear
}
from
"
d3-scale
"
;
export
type
Strand
=
"
+
"
|
"
-
"
;
export
interface
GeneData
{
...
...
@@ -26,8 +27,11 @@ export interface GenericAxisData {
interval
:
[
number
,
number
]
}
export
interface
GlobalAxisData
extends
GenericAxisData
{
window
:
[
number
,
number
]
export
interface
BrushableAxisData
extends
GenericAxisData
{
window
:
[
number
,
number
],
eventHandler
?:
{
brushed
:
(
scale
:
ScaleLinear
<
number
,
number
>
)
=>
void
}
}
...
...
@@ -44,7 +48,7 @@ export interface GenomeBrowserData {
genes
:
GeneData
[]
},
axis
:
{
global
:
Global
AxisData
,
global
:
Brushable
AxisData
,
chromosome
:
GenericAxisData
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment