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
1491d5d6
Commit
1491d5d6
authored
Apr 10, 2019
by
Remi PLANEL
Browse files
Change default arrowWidth (20 -> 10)
parent
e438a1b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripts/component/sequence/gene-shapes.ts
View file @
1491d5d6
import
gene
,
{
GeneData
,
PositionedGeneData
}
from
"
.
/gene
"
;
import
{
PositionedGeneData
}
from
"
.
./../types
"
;
import
{
path
}
from
"
d3-path
"
;
export
function
arrowShape
(
data
:
PositionedGeneData
,
geneHeight
:
number
,
arrowWidth
:
number
=
2
0
arrowWidth
:
number
=
1
0
)
{
const
{
position
:
{
width
}
}
=
data
;
return
(
width
<
arrowWidth
)
...
...
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