Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Grégoire Locqueville
purescript-gargantext
Commits
d21e6801
Commit
d21e6801
authored
Nov 17, 2021
by
arturo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
>>> continue
parent
6fa1c9d7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
Draw.js
src/Gargantext/Components/PhyloExplorer/Draw.js
+12
-4
No files found.
src/Gargantext/Components/PhyloExplorer/Draw.js
View file @
d21e6801
...
...
@@ -364,9 +364,15 @@ function drawPhylo(branches, periods, groups, links, aLinks, bLinks, frame) {
.
style
(
"fill"
,
"#0d1824"
)
.
attr
(
"visibility"
,
"visible"
)
.
text
(
"▲"
)
.
on
(
"mouseover"
,
peakOver
)
.
on
(
"mouseout"
,
peakOut
)
.
on
(
"click"
,
peakClick
);
.
on
(
"mouseover"
,
function
(
e
,
b
)
{
peakOver
(
b
,
b
.
bId
);
})
.
on
(
"mouseout"
,
function
(
e
,
b
)
{
peakOut
(
b
,
b
.
bId
);
})
.
on
(
"click"
,
function
(
e
,
b
)
{
peakClick
(
b
,
b
.
bId
);
});
/* *** draw the phylo *** */
...
...
@@ -578,7 +584,9 @@ function drawPhylo(branches, periods, groups, links, aLinks, bLinks, frame) {
// https://observablehq.com/@d3/parallel-coordinates
d3
.
select
(
"#label"
).
on
(
"click"
,
showLabel
);
d3
.
select
(
"#label"
).
on
(
"click"
,
function
(
e
,
l
)
{
showLabel
(
l
);
});
function
autocomplete
(
e
)
{
var
txt
=
e
.
target
.
value
;
...
...
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