Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
memiescape
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
Quentin Lobbé
memiescape
Commits
6ff78c43
Commit
6ff78c43
authored
Sep 04, 2020
by
qlobbe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add terms paths
parent
02a8d026
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
255 additions
and
126 deletions
+255
-126
index.html
index.html
+14
-8
qlobbe.css
lib/css/qlobbe.css
+50
-5
ressources.js
ressources.js
+191
-113
No files found.
index.html
View file @
6ff78c43
...
...
@@ -52,6 +52,9 @@
<button
id=
"reset"
class=
"button reset"
>
<i
class=
"fas fa-expand-arrows-alt"
></i>
</button>
<button
id=
"label"
class=
"button label"
>
<i
class=
"fas fa-align-center"
></i>
</button>
</div>
<!-- row 4 -->
...
...
@@ -82,6 +85,7 @@
return
function
(
e
)
{
try
{
document
.
querySelector
(
"#reset"
).
style
.
visibility
=
"visible"
document
.
querySelector
(
"#label"
).
style
.
visibility
=
"visible"
json
=
JSON
.
parse
(
e
.
target
.
result
);
draw
(
json
)
}
catch
(
error
)
{
...
...
@@ -159,7 +163,9 @@
y
:
parseFloat
(((
g
.
pos
).
split
(
','
))[
1
])
,
bId
:
parseInt
(
g
.
bId
)
,
gId
:
parseInt
(
g
.
_gvid
)
,
size
:
parseInt
(
g
.
support
)
}
size
:
parseInt
(
g
.
support
),
label
:
(
g
.
label
.
slice
(
1
,
g
.
label
.
length
-
1
)).
split
(
'|'
),
foundation
:
(
g
.
foundation
.
slice
(
1
,
g
.
foundation
.
length
-
1
)).
split
(
'|'
)
}
});
var
links
=
json
.
edges
.
filter
(
edges
=>
edges
.
edgeType
==
"link"
).
map
(
function
(
l
){
...
...
lib/css/qlobbe.css
View file @
6ff78c43
...
...
@@ -224,6 +224,15 @@ i.how:hover span {
visibility
:
hidden
;
}
.label
{
visibility
:
hidden
;
}
.labeled
{
background-color
:
#0d1824
;
color
:
white
;
}
.input-file
{
display
:
inline-block
;
cursor
:
pointer
;
...
...
@@ -308,18 +317,53 @@ i.how:hover span {
fill
:
#4A5C70
;
}
/* ----------
phylo
---------- */
/* ----------
group
---------- */
.group-outer
{
stroke-width
:
1
.5
px
;
stroke-width
:
1px
;
stroke
:
#fff
;
fill
:
#fff
;
}
.group-inner
{
stroke-width
:
1px
;
stroke
:
#0d1824
;
fill
:
#0d1824
;
/*cursor: pointer;*/
z-index
:
10
;
}
.group-inner-focus
{
stroke
:
#f8381f
;
}
.group-inner-unfocus
{
stroke
:
#A9A9A9
;
}
.group-path-focus
{
stroke
:
#A9A9A9
;
}
/* ---------- labels ---------- */
.ngrams
{
visibility
:
hidden
;
}
.term
{
cursor
:
pointer
;
}
.term
:hover
{
font-weight
:
bold
;
}
.term-path
{
fill
:
none
;
stroke
:
#f8381f
;
stroke-width
:
1.5px
;
fill
:
#0d1824
;
z-index
:
1
;
}
/* ---------- phylo ---------- */
...
...
@@ -379,3 +423,4 @@ i.how:hover span {
position
:
absolute
;
visibility
:
hidden
;
}
ressources.js
View file @
6ff78c43
This diff is collapsed.
Click to expand it.
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