macrocosm 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/macrocosm/template.html +10 -5
- data/lib/macrocosm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 510ed4a1826e4720958e315a75f217d390404ae6bdfa526f114825c499f3a716
|
4
|
+
data.tar.gz: 3bd73fd70ef08f1263e7b26ddf0671eaac6bc5a0125531eabe936d6d6803e5e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34f012f45627e46ec5b9286908d66213e4b25a0ed5788998aa8443de01e885c67e71638788ea7e1fe7156bf6a8e8f49b5897e434db2d13453765932bcb488074
|
7
|
+
data.tar.gz: e0f07e3f17baad2bfa4ffcbfb0a2eac899d43bd1e34a10b7203556addfcf225d273337ba56812ef941d9719c3fee8f0a209a36971b8d3d9ff6c4e2665e5f0ee2
|
data/lib/macrocosm/template.html
CHANGED
@@ -14,8 +14,8 @@
|
|
14
14
|
|
15
15
|
#switch {
|
16
16
|
position: fixed;
|
17
|
-
bottom:
|
18
|
-
right:
|
17
|
+
bottom: 30px;
|
18
|
+
right: 40px;
|
19
19
|
}
|
20
20
|
|
21
21
|
button.filter-switch {
|
@@ -60,7 +60,8 @@
|
|
60
60
|
|
61
61
|
<div id="switch">
|
62
62
|
node-label <Checkbox v-model="opts.series[0].label.show"></Checkbox>
|
63
|
-
edge-label <Checkbox v-model="edge_label" @on-change="switch_edge_label"></Checkbox
|
63
|
+
edge-label <Checkbox v-model="edge_label" @on-change="switch_edge_label"></Checkbox>
|
64
|
+
categories <Checkbox v-model="opts.legend[0].show"></Checkbox>
|
64
65
|
</div>
|
65
66
|
</div>
|
66
67
|
|
@@ -187,10 +188,14 @@
|
|
187
188
|
tooltip: {},
|
188
189
|
legend: [{
|
189
190
|
// selectedMode: 'single',
|
190
|
-
|
191
|
-
|
191
|
+
show: true,
|
192
|
+
type: 'scroll',
|
193
|
+
top: 0,
|
194
|
+
right: 0,
|
195
|
+
padding: [30, 40, 80, 30],
|
192
196
|
orient: "vertical",
|
193
197
|
align: "right",
|
198
|
+
|
194
199
|
data: graph.categories.map(function (a) {
|
195
200
|
return a.name;
|
196
201
|
})
|
data/lib/macrocosm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: macrocosm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ken
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|