Browse Source

update graph stuff

master
ppound 6 years ago
parent
commit
721e9efa41
  1. 2
      .gitignore
  2. 4
      css/fdg-graph.css
  3. 4
      islandora_herbarium_object.libraries.yml
  4. 2
      js/d3-selection.min.js
  5. 2
      js/d3.v4.min.js
  6. 9
      templates/fdg-graph.html.twig

2
.gitignore vendored

@ -9,4 +9,4 @@ config/install/media_entity.bundle.jp2.yml
config/install/media_entity.bundle.tn.yml config/install/media_entity.bundle.tn.yml
config/install/media_entity.bundle.web_content.yml config/install/media_entity.bundle.web_content.yml
config/install/field.storage.node.field_tags.yml config/install/field.storage.node.field_tags.yml
config/install/core.entity_view_mode.node.search_index .DS_Store

4
css/fdg-graph.css

@ -9,9 +9,9 @@
} }
#iho-graph { #iho-graph {
/*overflow: scroll; overflow: scroll;
width: 100%; width: 100%;
height: 2200px;*/ height: 400px;
} }
text { text {

4
islandora_herbarium_object.libraries.yml

@ -7,7 +7,7 @@ d3js:
url: https://github.com/d3/d3/blob/master/LICENSE url: https://github.com/d3/d3/blob/master/LICENSE
gpl-compatible: true gpl-compatible: true
js: js:
/libraries/d3/d3.min.js: {} js/d3.v4.min.js: {}
fdg-graph: fdg-graph:
version: 1.x version: 1.x
css: css:
@ -24,4 +24,4 @@ d3-selection:
url: https://github.com/d3/d3-selection/blob/master/LICENSE url: https://github.com/d3/d3-selection/blob/master/LICENSE
gpl-compatible: true gpl-compatible: true
js: js:
/libraries/d3-selection/d3-selection.min.js: {} js/d3-selection.min.js: {}

2
js/d3-selection.min.js vendored

File diff suppressed because one or more lines are too long

2
js/d3.v4.min.js vendored

File diff suppressed because one or more lines are too long

9
templates/fdg-graph.html.twig

@ -1,8 +1,3 @@
<div id="iho-graph"> <div id="iho-graph">
<svg class='fdg' width="1600" height="2200"></svg> <svg class='fdg' width="800" height="400"></svg>
</div> </div>
Loading…
Cancel
Save