grnsight 6.0.4 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.yml +4 -4
- package/database/README.md +224 -79
- package/database/constants.py +42 -0
- package/database/expression-database/README.md +2 -2
- package/database/expression-database/schema.sql +14 -14
- package/database/expression-database/scripts/loader.py +6 -6
- package/database/filter_update.py +168 -0
- package/database/grnsettings-database/README.md +52 -0
- package/database/grnsettings-database/schema.sql +4 -0
- package/database/loader.py +30 -0
- package/database/loader_update.py +36 -0
- package/database/network-database/README.md +36 -4
- package/database/network-database/schema.sql +7 -7
- package/database/network-database/scripts/generate_network.py +16 -24
- package/database/network-database/scripts/generate_new_network_version.py +216 -0
- package/database/protein-protein-database/README.md +71 -0
- package/database/protein-protein-database/schema.sql +37 -0
- package/database/protein-protein-database/scripts/generate_protein_network.py +227 -0
- package/database/protein-protein-database/scripts/remove_duplicates.sh +4 -0
- package/database/utils.py +418 -0
- package/package.json +2 -2
- package/server/app.js +2 -0
- package/server/config/config.js +4 -4
- package/server/controllers/additional-sheet-parser.js +2 -1
- package/server/controllers/constants.js +5 -0
- package/server/controllers/custom-workbook-controller.js +8 -6
- package/server/controllers/demo-workbooks.js +1460 -4
- package/server/controllers/export-constants.js +3 -2
- package/server/controllers/exporters/sif.js +6 -1
- package/server/controllers/exporters/xlsx.js +8 -3
- package/server/controllers/expression-sheet-parser.js +0 -6
- package/server/controllers/grnsettings-database-controller.js +17 -0
- package/server/controllers/importers/sif.js +29 -11
- package/server/controllers/network-database-controller.js +2 -2
- package/server/controllers/network-sheet-parser.js +54 -12
- package/server/controllers/protein-database-controller.js +18 -0
- package/server/controllers/sif-constants.js +4 -4
- package/server/controllers/spreadsheet-controller.js +44 -1
- package/server/controllers/workbook-constants.js +21 -4
- package/server/dals/expression-dal.js +8 -7
- package/server/dals/grnsetting-dal.js +49 -0
- package/server/dals/network-dal.js +13 -12
- package/server/dals/protein-dal.js +106 -0
- package/test/export-tests.js +136 -9
- package/test/import-sif-tests.js +54 -13
- package/test/test.js +1 -1
- package/test-files/additional-sheet-test-files/optimization-parameters-default.xlsx +0 -0
- package/test-files/demo-files/18_proteins_81_edges_PPI.xlsx +0 -0
- package/test-files/expression-data-test-sheets/expression_sheet_missing_data_ok_export_exact.xlsx +0 -0
- package/web-client/config/config.js +4 -4
- package/web-client/public/js/api/grnsight-api.js +72 -56
- package/web-client/public/js/constants.js +26 -12
- package/web-client/public/js/generateNetwork.js +173 -67
- package/web-client/public/js/graph.js +420 -150
- package/web-client/public/js/grnsight.js +25 -4
- package/web-client/public/js/grnstate.js +3 -1
- package/web-client/public/js/iframe-coordination.js +3 -3
- package/web-client/public/js/setup-handlers.js +28 -32
- package/web-client/public/js/setup-load-and-import-handlers.js +196 -170
- package/web-client/public/js/update-app.js +84 -17
- package/web-client/public/js/upload.js +193 -157
- package/web-client/public/lib/bootstrap.file-input/bootstrap.file-input.js +0 -1
- package/web-client/public/stylesheets/grnsight.styl +40 -16
- package/web-client/views/components/demo.pug +7 -5
- package/web-client/views/upload.pug +63 -49
- package/.bundle/config +0 -3
- package/GRNsight - Beta.html +0 -194
- package/Gemfile.lock +0 -259
- package/_gh_pages/about.html +0 -807
- package/_gh_pages/assets/css/bootstrap.min.css +0 -10
- package/_gh_pages/assets/css/footer.css +0 -3
- package/_gh_pages/assets/css/main.css +0 -363
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_estimation_output_binary-no-targetless-genes_sif.png +0 -0
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_estimation_output_binary_sif.png +0 -0
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_graphml_3-edges-and-footer.png +0 -0
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_graphml_header-and-3-nodes.png +0 -0
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_graphml_output_3-edges-and-footer.png +0 -0
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_graphml_output_header-and-3-nodes.png +0 -0
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_input_binary-no-targetless-genes_sif.png +0 -0
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_input_binary_sif.png +0 -0
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_input_concatenated-no-targetless-genes_sif.png +0 -0
- package/_gh_pages/assets/images/21-genes_31-edges_Schade-data_input_concatenated_sif.png +0 -0
- package/_gh_pages/assets/images/Carrillo_Roque_LMU_Symposium_2015.pptx +0 -0
- package/_gh_pages/assets/images/Choe-Shin_CMSI402-poster-session_20180430.jpg +0 -0
- package/_gh_pages/assets/images/Choe_SCCUR_2017.jpg +0 -0
- package/_gh_pages/assets/images/Dahlquist-BMB-2015-Fig1.jpg +0 -0
- package/_gh_pages/assets/images/Dahlquist-BMB-2015-Fig8.jpg +0 -0
- package/_gh_pages/assets/images/Dahlquist-Choe-Shin_CMSI402-poster-session_20180430.jpg +0 -0
- package/_gh_pages/assets/images/Demo-3-auto-layout.jpg +0 -0
- package/_gh_pages/assets/images/Demo-3-paper-layout.jpg +0 -0
- package/_gh_pages/assets/images/Demo-4-auto-layout.jpg +0 -0
- package/_gh_pages/assets/images/Demo-4-paper-layout.jpg +0 -0
- package/_gh_pages/assets/images/Dionisio-Dahlquist_GRNsight-shades_20170506.jpg +0 -0
- package/_gh_pages/assets/images/GRNsight_logo_20140710_main.jpg +0 -0
- package/_gh_pages/assets/images/GRNsight_logo_20140710_main_resized.jpg +0 -0
- package/_gh_pages/assets/images/GRNsight_logo_20140710_rollover.jpg +0 -0
- package/_gh_pages/assets/images/GRNsight_logo_20140710_rollover_resized.jpg +0 -0
- package/_gh_pages/assets/images/Johnson_Williams_LMU_Symposium_2015.pptx +0 -0
- package/_gh_pages/assets/images/Klein_Samdarshi_TriBeta_2018_20180317.jpg +0 -0
- package/_gh_pages/assets/images/LMULogoHQ2.png +0 -0
- package/_gh_pages/assets/images/LMUSymposium_Group_20150321-2.jpg +0 -0
- package/_gh_pages/assets/images/LMUSymposium_Group_20150321-2_resized.jpg +0 -0
- package/_gh_pages/assets/images/Sample_network_optimized_weights_worksheet.jpg +0 -0
- package/_gh_pages/assets/images/Sample_network_worksheet.jpg +0 -0
- package/_gh_pages/assets/images/Shin_SCCUR_2017.jpg +0 -0
- package/_gh_pages/assets/images/demo-3_network-sheet.png +0 -0
- package/_gh_pages/assets/images/demo-4_network-optimized-weights-sheet.png +0 -0
- package/_gh_pages/assets/images/gene-pages-0.png +0 -0
- package/_gh_pages/assets/images/gene-pages-1.png +0 -0
- package/_gh_pages/assets/images/gene-pages-2.png +0 -0
- package/_gh_pages/assets/images/gene-pages-3.png +0 -0
- package/_gh_pages/assets/images/grnsight2020.png +0 -0
- package/_gh_pages/assets/images/lmu logo.gif +0 -0
- package/_gh_pages/assets/images/v3demo2-grid+nodecoloring.png +0 -0
- package/_gh_pages/assets/images/v3demo2-nodecoloring.png +0 -0
- package/_gh_pages/assets/images/v3demo2.png +0 -0
- package/_gh_pages/assets/js/ga-report.js +0 -35
- package/_gh_pages/assets/js/iframeResizer.min.js +0 -9
- package/_gh_pages/assets/js/main.js +0 -132
- package/_gh_pages/beta.html +0 -144
- package/_gh_pages/contact.html +0 -178
- package/_gh_pages/coverage/coverage.json +0 -1
- package/_gh_pages/coverage/coverage.raw.json +0 -1
- package/_gh_pages/coverage/lcov-report/base.css +0 -223
- package/_gh_pages/coverage/lcov-report/block-navigation.js +0 -63
- package/_gh_pages/coverage/lcov-report/controllers/additional-sheet-parser.js.html +0 -330
- package/_gh_pages/coverage/lcov-report/controllers/constants.js.html +0 -243
- package/_gh_pages/coverage/lcov-report/controllers/export-controller.js.html +0 -285
- package/_gh_pages/coverage/lcov-report/controllers/exporters/graphml.js.html +0 -405
- package/_gh_pages/coverage/lcov-report/controllers/exporters/index.html +0 -110
- package/_gh_pages/coverage/lcov-report/controllers/exporters/sif.js.html +0 -150
- package/_gh_pages/coverage/lcov-report/controllers/helpers.js.html +0 -114
- package/_gh_pages/coverage/lcov-report/controllers/import-controller.js.html +0 -233
- package/_gh_pages/coverage/lcov-report/controllers/importers/graphml.js.html +0 -716
- package/_gh_pages/coverage/lcov-report/controllers/importers/index.html +0 -106
- package/_gh_pages/coverage/lcov-report/controllers/importers/sif.js.html +0 -488
- package/_gh_pages/coverage/lcov-report/controllers/index.html +0 -162
- package/_gh_pages/coverage/lcov-report/controllers/semantic-checker.js.html +0 -810
- package/_gh_pages/coverage/lcov-report/controllers/spreadsheet-controller.js.html +0 -1779
- package/_gh_pages/coverage/lcov-report/index.html +0 -136
- package/_gh_pages/coverage/lcov-report/prettify.css +0 -1
- package/_gh_pages/coverage/lcov-report/prettify.js +0 -1
- package/_gh_pages/coverage/lcov-report/server/controllers/additional-sheet-parser.js.html +0 -330
- package/_gh_pages/coverage/lcov-report/server/controllers/constants.js.html +0 -243
- package/_gh_pages/coverage/lcov-report/server/controllers/export-controller.js.html +0 -285
- package/_gh_pages/coverage/lcov-report/server/controllers/exporters/graphml.js.html +0 -405
- package/_gh_pages/coverage/lcov-report/server/controllers/exporters/index.html +0 -110
- package/_gh_pages/coverage/lcov-report/server/controllers/exporters/sif.js.html +0 -150
- package/_gh_pages/coverage/lcov-report/server/controllers/graphml-constants.js.html +0 -585
- package/_gh_pages/coverage/lcov-report/server/controllers/helpers.js.html +0 -114
- package/_gh_pages/coverage/lcov-report/server/controllers/import-controller.js.html +0 -237
- package/_gh_pages/coverage/lcov-report/server/controllers/importers/graphml.js.html +0 -585
- package/_gh_pages/coverage/lcov-report/server/controllers/importers/index.html +0 -110
- package/_gh_pages/coverage/lcov-report/server/controllers/importers/sif.js.html +0 -492
- package/_gh_pages/coverage/lcov-report/server/controllers/index.html +0 -188
- package/_gh_pages/coverage/lcov-report/server/controllers/semantic-checker.js.html +0 -810
- package/_gh_pages/coverage/lcov-report/server/controllers/spreadsheet-controller.js.html +0 -1779
- package/_gh_pages/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/_gh_pages/coverage/lcov-report/sorter.js +0 -158
- package/_gh_pages/coverage/lcov-report/web-client/public/js/grnstate.js.html +0 -225
- package/_gh_pages/coverage/lcov-report/web-client/public/js/index.html +0 -97
- package/_gh_pages/coverage/lcov.info +0 -49
- package/_gh_pages/documentation.html +0 -1132
- package/_gh_pages/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.aux +0 -47
- package/_gh_pages/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.bbl +0 -73
- package/_gh_pages/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.blg +0 -52
- package/_gh_pages/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.log +0 -1056
- package/_gh_pages/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.out +0 -7
- package/_gh_pages/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.synctex.gz +0 -0
- package/_gh_pages/documents/manuscripts/peerj-computerscience-2016/revisions/GRNsight_PeerJ-CS_manuscript_2016_text-only_revised-Dondi.docx +0 -0
- package/_gh_pages/encryption/server.cert +0 -21
- package/_gh_pages/encryption/server.key +0 -28
- package/_gh_pages/favicon.ico +0 -0
- package/_gh_pages/googlea1a858c5bc91c87e.html +0 -1
- package/_gh_pages/index.html +0 -163
- package/_gh_pages/links.html +0 -177
- package/_gh_pages/news.html +0 -367
- package/_gh_pages/onlyfooter.html +0 -78
- package/_gh_pages/onlyheader.html +0 -64
- package/_gh_pages/onlysidebar.html +0 -73
- package/_gh_pages/package-lock.json +0 -14048
- package/_gh_pages/params.json +0 -1
- package/_gh_pages/people.html +0 -260
- package/_gh_pages/privacy.html +0 -147
- package/_gh_pages/publications.html +0 -378
- package/_gh_pages/robots.txt +0 -1
- package/_gh_pages/server/API Project-7d45e9f24a96.p12 +0 -0
- package/_gh_pages/server/grnmap.pem +0 -31
- package/_gh_pages/server/grnsight.pem +0 -19
- package/_gh_pages/sitemap.xml +0 -174
- package/_gh_pages/test-files/import-samples/attributes.graphml +0 -40
- package/_gh_pages/test-files/import-samples/port.graphml +0 -32
- package/_gh_pages/test-files/import-samples/simple.graphml +0 -31
- package/_gh_pages/web-client/public/js/grnsight.min.js +0 -2347
- package/_gh_pages/web-client/public/stylesheets/grnsight.css +0 -443
- package/coverage/coverage.json +0 -1
- package/coverage/coverage.raw.json +0 -1
- package/coverage/lcov-report/base.css +0 -223
- package/coverage/lcov-report/block-navigation.js +0 -63
- package/coverage/lcov-report/controllers/additional-sheet-parser.js.html +0 -330
- package/coverage/lcov-report/controllers/constants.js.html +0 -243
- package/coverage/lcov-report/controllers/export-controller.js.html +0 -285
- package/coverage/lcov-report/controllers/exporters/graphml.js.html +0 -405
- package/coverage/lcov-report/controllers/exporters/index.html +0 -110
- package/coverage/lcov-report/controllers/exporters/sif.js.html +0 -150
- package/coverage/lcov-report/controllers/helpers.js.html +0 -114
- package/coverage/lcov-report/controllers/import-controller.js.html +0 -233
- package/coverage/lcov-report/controllers/importers/graphml.js.html +0 -716
- package/coverage/lcov-report/controllers/importers/index.html +0 -106
- package/coverage/lcov-report/controllers/importers/sif.js.html +0 -488
- package/coverage/lcov-report/controllers/index.html +0 -162
- package/coverage/lcov-report/controllers/semantic-checker.js.html +0 -810
- package/coverage/lcov-report/controllers/spreadsheet-controller.js.html +0 -1779
- package/coverage/lcov-report/index.html +0 -136
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -1
- package/coverage/lcov-report/server/controllers/additional-sheet-parser.js.html +0 -330
- package/coverage/lcov-report/server/controllers/constants.js.html +0 -243
- package/coverage/lcov-report/server/controllers/export-controller.js.html +0 -285
- package/coverage/lcov-report/server/controllers/exporters/graphml.js.html +0 -405
- package/coverage/lcov-report/server/controllers/exporters/index.html +0 -110
- package/coverage/lcov-report/server/controllers/exporters/sif.js.html +0 -150
- package/coverage/lcov-report/server/controllers/graphml-constants.js.html +0 -585
- package/coverage/lcov-report/server/controllers/helpers.js.html +0 -114
- package/coverage/lcov-report/server/controllers/import-controller.js.html +0 -237
- package/coverage/lcov-report/server/controllers/importers/graphml.js.html +0 -585
- package/coverage/lcov-report/server/controllers/importers/index.html +0 -110
- package/coverage/lcov-report/server/controllers/importers/sif.js.html +0 -492
- package/coverage/lcov-report/server/controllers/index.html +0 -188
- package/coverage/lcov-report/server/controllers/semantic-checker.js.html +0 -810
- package/coverage/lcov-report/server/controllers/spreadsheet-controller.js.html +0 -1779
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -158
- package/coverage/lcov-report/web-client/public/js/grnstate.js.html +0 -225
- package/coverage/lcov-report/web-client/public/js/index.html +0 -97
- package/coverage/lcov.info +0 -1952
- package/database/network-database/scripts/filter_genes.py +0 -76
- package/database/network-database/scripts/loader.py +0 -79
- package/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.aux +0 -47
- package/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.bbl +0 -73
- package/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.blg +0 -52
- package/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.log +0 -1056
- package/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.out +0 -7
- package/documents/abstracts/SIGGRAPH 2017 Abstract/siggraph-abstract-review.synctex.gz +0 -0
- package/documents/manuscripts/peerj-computerscience-2016/revisions/GRNsight_PeerJ-CS_manuscript_2016_text-only_revised-Dondi.docx +0 -0
- package/encryption/server.cert +0 -21
- package/encryption/server.key +0 -28
- package/gdb/PG_VERSION +0 -1
- package/gdb/base/1/112 +0 -0
- package/gdb/base/1/113 +0 -0
- package/gdb/base/1/1247 +0 -0
- package/gdb/base/1/1247_fsm +0 -0
- package/gdb/base/1/1247_vm +0 -0
- package/gdb/base/1/1249 +0 -0
- package/gdb/base/1/1249_fsm +0 -0
- package/gdb/base/1/1249_vm +0 -0
- package/gdb/base/1/1255 +0 -0
- package/gdb/base/1/1255_fsm +0 -0
- package/gdb/base/1/1255_vm +0 -0
- package/gdb/base/1/1259 +0 -0
- package/gdb/base/1/1259_fsm +0 -0
- package/gdb/base/1/1259_vm +0 -0
- package/gdb/base/1/13852 +0 -0
- package/gdb/base/1/13852_fsm +0 -0
- package/gdb/base/1/13852_vm +0 -0
- package/gdb/base/1/13855 +0 -0
- package/gdb/base/1/13856 +0 -0
- package/gdb/base/1/13857 +0 -0
- package/gdb/base/1/13857_fsm +0 -0
- package/gdb/base/1/13857_vm +0 -0
- package/gdb/base/1/13860 +0 -0
- package/gdb/base/1/13861 +0 -0
- package/gdb/base/1/13862 +0 -0
- package/gdb/base/1/13862_fsm +0 -0
- package/gdb/base/1/13862_vm +0 -0
- package/gdb/base/1/13865 +0 -0
- package/gdb/base/1/13866 +0 -0
- package/gdb/base/1/13867 +0 -0
- package/gdb/base/1/13867_fsm +0 -0
- package/gdb/base/1/13867_vm +0 -0
- package/gdb/base/1/13870 +0 -0
- package/gdb/base/1/13871 +0 -0
- package/gdb/base/1/1417 +0 -0
- package/gdb/base/1/1418 +0 -0
- package/gdb/base/1/174 +0 -0
- package/gdb/base/1/175 +0 -0
- package/gdb/base/1/2187 +0 -0
- package/gdb/base/1/2224 +0 -0
- package/gdb/base/1/2228 +0 -0
- package/gdb/base/1/2328 +0 -0
- package/gdb/base/1/2336 +0 -0
- package/gdb/base/1/2337 +0 -0
- package/gdb/base/1/2579 +0 -0
- package/gdb/base/1/2600 +0 -0
- package/gdb/base/1/2600_fsm +0 -0
- package/gdb/base/1/2600_vm +0 -0
- package/gdb/base/1/2601 +0 -0
- package/gdb/base/1/2601_fsm +0 -0
- package/gdb/base/1/2601_vm +0 -0
- package/gdb/base/1/2602 +0 -0
- package/gdb/base/1/2602_fsm +0 -0
- package/gdb/base/1/2602_vm +0 -0
- package/gdb/base/1/2603 +0 -0
- package/gdb/base/1/2603_fsm +0 -0
- package/gdb/base/1/2603_vm +0 -0
- package/gdb/base/1/2604 +0 -0
- package/gdb/base/1/2605 +0 -0
- package/gdb/base/1/2605_fsm +0 -0
- package/gdb/base/1/2605_vm +0 -0
- package/gdb/base/1/2606 +0 -0
- package/gdb/base/1/2606_fsm +0 -0
- package/gdb/base/1/2606_vm +0 -0
- package/gdb/base/1/2607 +0 -0
- package/gdb/base/1/2607_fsm +0 -0
- package/gdb/base/1/2607_vm +0 -0
- package/gdb/base/1/2608 +0 -0
- package/gdb/base/1/2608_fsm +0 -0
- package/gdb/base/1/2608_vm +0 -0
- package/gdb/base/1/2609 +0 -0
- package/gdb/base/1/2609_fsm +0 -0
- package/gdb/base/1/2609_vm +0 -0
- package/gdb/base/1/2610 +0 -0
- package/gdb/base/1/2610_fsm +0 -0
- package/gdb/base/1/2610_vm +0 -0
- package/gdb/base/1/2611 +0 -0
- package/gdb/base/1/2612 +0 -0
- package/gdb/base/1/2612_fsm +0 -0
- package/gdb/base/1/2612_vm +0 -0
- package/gdb/base/1/2613 +0 -0
- package/gdb/base/1/2615 +0 -0
- package/gdb/base/1/2615_fsm +0 -0
- package/gdb/base/1/2615_vm +0 -0
- package/gdb/base/1/2616 +0 -0
- package/gdb/base/1/2616_fsm +0 -0
- package/gdb/base/1/2616_vm +0 -0
- package/gdb/base/1/2617 +0 -0
- package/gdb/base/1/2617_fsm +0 -0
- package/gdb/base/1/2617_vm +0 -0
- package/gdb/base/1/2618 +0 -0
- package/gdb/base/1/2618_fsm +0 -0
- package/gdb/base/1/2618_vm +0 -0
- package/gdb/base/1/2619 +0 -0
- package/gdb/base/1/2619_fsm +0 -0
- package/gdb/base/1/2619_vm +0 -0
- package/gdb/base/1/2620 +0 -0
- package/gdb/base/1/2650 +0 -0
- package/gdb/base/1/2651 +0 -0
- package/gdb/base/1/2652 +0 -0
- package/gdb/base/1/2653 +0 -0
- package/gdb/base/1/2654 +0 -0
- package/gdb/base/1/2655 +0 -0
- package/gdb/base/1/2656 +0 -0
- package/gdb/base/1/2657 +0 -0
- package/gdb/base/1/2658 +0 -0
- package/gdb/base/1/2659 +0 -0
- package/gdb/base/1/2660 +0 -0
- package/gdb/base/1/2661 +0 -0
- package/gdb/base/1/2662 +0 -0
- package/gdb/base/1/2663 +0 -0
- package/gdb/base/1/2664 +0 -0
- package/gdb/base/1/2665 +0 -0
- package/gdb/base/1/2666 +0 -0
- package/gdb/base/1/2667 +0 -0
- package/gdb/base/1/2668 +0 -0
- package/gdb/base/1/2669 +0 -0
- package/gdb/base/1/2670 +0 -0
- package/gdb/base/1/2673 +0 -0
- package/gdb/base/1/2673_fsm +0 -0
- package/gdb/base/1/2674 +0 -0
- package/gdb/base/1/2674_fsm +0 -0
- package/gdb/base/1/2675 +0 -0
- package/gdb/base/1/2678 +0 -0
- package/gdb/base/1/2679 +0 -0
- package/gdb/base/1/2680 +0 -0
- package/gdb/base/1/2681 +0 -0
- package/gdb/base/1/2682 +0 -0
- package/gdb/base/1/2683 +0 -0
- package/gdb/base/1/2684 +0 -0
- package/gdb/base/1/2685 +0 -0
- package/gdb/base/1/2686 +0 -0
- package/gdb/base/1/2687 +0 -0
- package/gdb/base/1/2688 +0 -0
- package/gdb/base/1/2689 +0 -0
- package/gdb/base/1/2690 +0 -0
- package/gdb/base/1/2691 +0 -0
- package/gdb/base/1/2692 +0 -0
- package/gdb/base/1/2693 +0 -0
- package/gdb/base/1/2696 +0 -0
- package/gdb/base/1/2699 +0 -0
- package/gdb/base/1/2701 +0 -0
- package/gdb/base/1/2702 +0 -0
- package/gdb/base/1/2703 +0 -0
- package/gdb/base/1/2704 +0 -0
- package/gdb/base/1/2753 +0 -0
- package/gdb/base/1/2753_fsm +0 -0
- package/gdb/base/1/2753_vm +0 -0
- package/gdb/base/1/2754 +0 -0
- package/gdb/base/1/2755 +0 -0
- package/gdb/base/1/2756 +0 -0
- package/gdb/base/1/2757 +0 -0
- package/gdb/base/1/2830 +0 -0
- package/gdb/base/1/2831 +0 -0
- package/gdb/base/1/2832 +0 -0
- package/gdb/base/1/2833 +0 -0
- package/gdb/base/1/2834 +0 -0
- package/gdb/base/1/2835 +0 -0
- package/gdb/base/1/2836 +0 -0
- package/gdb/base/1/2836_fsm +0 -0
- package/gdb/base/1/2836_vm +0 -0
- package/gdb/base/1/2837 +0 -0
- package/gdb/base/1/2838 +0 -0
- package/gdb/base/1/2838_fsm +0 -0
- package/gdb/base/1/2838_vm +0 -0
- package/gdb/base/1/2839 +0 -0
- package/gdb/base/1/2840 +0 -0
- package/gdb/base/1/2840_fsm +0 -0
- package/gdb/base/1/2840_vm +0 -0
- package/gdb/base/1/2841 +0 -0
- package/gdb/base/1/2995 +0 -0
- package/gdb/base/1/2996 +0 -0
- package/gdb/base/1/3079 +0 -0
- package/gdb/base/1/3079_fsm +0 -0
- package/gdb/base/1/3079_vm +0 -0
- package/gdb/base/1/3080 +0 -0
- package/gdb/base/1/3081 +0 -0
- package/gdb/base/1/3085 +0 -0
- package/gdb/base/1/3118 +0 -0
- package/gdb/base/1/3119 +0 -0
- package/gdb/base/1/3164 +0 -0
- package/gdb/base/1/3256 +0 -0
- package/gdb/base/1/3257 +0 -0
- package/gdb/base/1/3258 +0 -0
- package/gdb/base/1/3350 +0 -0
- package/gdb/base/1/3351 +0 -0
- package/gdb/base/1/3379 +0 -0
- package/gdb/base/1/3380 +0 -0
- package/gdb/base/1/3381 +0 -0
- package/gdb/base/1/3394 +0 -0
- package/gdb/base/1/3394_fsm +0 -0
- package/gdb/base/1/3394_vm +0 -0
- package/gdb/base/1/3395 +0 -0
- package/gdb/base/1/3429 +0 -0
- package/gdb/base/1/3430 +0 -0
- package/gdb/base/1/3431 +0 -0
- package/gdb/base/1/3433 +0 -0
- package/gdb/base/1/3439 +0 -0
- package/gdb/base/1/3440 +0 -0
- package/gdb/base/1/3455 +0 -0
- package/gdb/base/1/3456 +0 -0
- package/gdb/base/1/3456_fsm +0 -0
- package/gdb/base/1/3456_vm +0 -0
- package/gdb/base/1/3466 +0 -0
- package/gdb/base/1/3467 +0 -0
- package/gdb/base/1/3468 +0 -0
- package/gdb/base/1/3501 +0 -0
- package/gdb/base/1/3502 +0 -0
- package/gdb/base/1/3503 +0 -0
- package/gdb/base/1/3534 +0 -0
- package/gdb/base/1/3541 +0 -0
- package/gdb/base/1/3541_fsm +0 -0
- package/gdb/base/1/3541_vm +0 -0
- package/gdb/base/1/3542 +0 -0
- package/gdb/base/1/3574 +0 -0
- package/gdb/base/1/3575 +0 -0
- package/gdb/base/1/3576 +0 -0
- package/gdb/base/1/3596 +0 -0
- package/gdb/base/1/3597 +0 -0
- package/gdb/base/1/3598 +0 -0
- package/gdb/base/1/3599 +0 -0
- package/gdb/base/1/3600 +0 -0
- package/gdb/base/1/3600_fsm +0 -0
- package/gdb/base/1/3600_vm +0 -0
- package/gdb/base/1/3601 +0 -0
- package/gdb/base/1/3601_fsm +0 -0
- package/gdb/base/1/3601_vm +0 -0
- package/gdb/base/1/3602 +0 -0
- package/gdb/base/1/3602_fsm +0 -0
- package/gdb/base/1/3602_vm +0 -0
- package/gdb/base/1/3603 +0 -0
- package/gdb/base/1/3603_fsm +0 -0
- package/gdb/base/1/3603_vm +0 -0
- package/gdb/base/1/3604 +0 -0
- package/gdb/base/1/3605 +0 -0
- package/gdb/base/1/3606 +0 -0
- package/gdb/base/1/3607 +0 -0
- package/gdb/base/1/3608 +0 -0
- package/gdb/base/1/3609 +0 -0
- package/gdb/base/1/3712 +0 -0
- package/gdb/base/1/3764 +0 -0
- package/gdb/base/1/3764_fsm +0 -0
- package/gdb/base/1/3764_vm +0 -0
- package/gdb/base/1/3766 +0 -0
- package/gdb/base/1/3767 +0 -0
- package/gdb/base/1/3997 +0 -0
- package/gdb/base/1/4143 +0 -0
- package/gdb/base/1/4144 +0 -0
- package/gdb/base/1/4145 +0 -0
- package/gdb/base/1/4146 +0 -0
- package/gdb/base/1/4147 +0 -0
- package/gdb/base/1/4148 +0 -0
- package/gdb/base/1/4149 +0 -0
- package/gdb/base/1/4150 +0 -0
- package/gdb/base/1/4151 +0 -0
- package/gdb/base/1/4152 +0 -0
- package/gdb/base/1/4153 +0 -0
- package/gdb/base/1/4154 +0 -0
- package/gdb/base/1/4155 +0 -0
- package/gdb/base/1/4156 +0 -0
- package/gdb/base/1/4157 +0 -0
- package/gdb/base/1/4158 +0 -0
- package/gdb/base/1/4159 +0 -0
- package/gdb/base/1/4160 +0 -0
- package/gdb/base/1/4163 +0 -0
- package/gdb/base/1/4164 +0 -0
- package/gdb/base/1/4165 +0 -0
- package/gdb/base/1/4166 +0 -0
- package/gdb/base/1/4167 +0 -0
- package/gdb/base/1/4168 +0 -0
- package/gdb/base/1/4169 +0 -0
- package/gdb/base/1/4170 +0 -0
- package/gdb/base/1/4171 +0 -0
- package/gdb/base/1/4172 +0 -0
- package/gdb/base/1/4173 +0 -0
- package/gdb/base/1/4174 +0 -0
- package/gdb/base/1/5002 +0 -0
- package/gdb/base/1/548 +0 -0
- package/gdb/base/1/549 +0 -0
- package/gdb/base/1/6102 +0 -0
- package/gdb/base/1/6104 +0 -0
- package/gdb/base/1/6106 +0 -0
- package/gdb/base/1/6110 +0 -0
- package/gdb/base/1/6111 +0 -0
- package/gdb/base/1/6112 +0 -0
- package/gdb/base/1/6113 +0 -0
- package/gdb/base/1/6117 +0 -0
- package/gdb/base/1/6175 +0 -0
- package/gdb/base/1/6176 +0 -0
- package/gdb/base/1/826 +0 -0
- package/gdb/base/1/827 +0 -0
- package/gdb/base/1/828 +0 -0
- package/gdb/base/1/PG_VERSION +0 -1
- package/gdb/base/1/pg_filenode.map +0 -0
- package/gdb/base/14033/112 +0 -0
- package/gdb/base/14033/113 +0 -0
- package/gdb/base/14033/1247 +0 -0
- package/gdb/base/14033/1247_fsm +0 -0
- package/gdb/base/14033/1247_vm +0 -0
- package/gdb/base/14033/1249 +0 -0
- package/gdb/base/14033/1249_fsm +0 -0
- package/gdb/base/14033/1249_vm +0 -0
- package/gdb/base/14033/1255 +0 -0
- package/gdb/base/14033/1255_fsm +0 -0
- package/gdb/base/14033/1255_vm +0 -0
- package/gdb/base/14033/1259 +0 -0
- package/gdb/base/14033/1259_fsm +0 -0
- package/gdb/base/14033/1259_vm +0 -0
- package/gdb/base/14033/13852 +0 -0
- package/gdb/base/14033/13852_fsm +0 -0
- package/gdb/base/14033/13852_vm +0 -0
- package/gdb/base/14033/13855 +0 -0
- package/gdb/base/14033/13856 +0 -0
- package/gdb/base/14033/13857 +0 -0
- package/gdb/base/14033/13857_fsm +0 -0
- package/gdb/base/14033/13857_vm +0 -0
- package/gdb/base/14033/13860 +0 -0
- package/gdb/base/14033/13861 +0 -0
- package/gdb/base/14033/13862 +0 -0
- package/gdb/base/14033/13862_fsm +0 -0
- package/gdb/base/14033/13862_vm +0 -0
- package/gdb/base/14033/13865 +0 -0
- package/gdb/base/14033/13866 +0 -0
- package/gdb/base/14033/13867 +0 -0
- package/gdb/base/14033/13867_fsm +0 -0
- package/gdb/base/14033/13867_vm +0 -0
- package/gdb/base/14033/13870 +0 -0
- package/gdb/base/14033/13871 +0 -0
- package/gdb/base/14033/1417 +0 -0
- package/gdb/base/14033/1418 +0 -0
- package/gdb/base/14033/174 +0 -0
- package/gdb/base/14033/175 +0 -0
- package/gdb/base/14033/2187 +0 -0
- package/gdb/base/14033/2224 +0 -0
- package/gdb/base/14033/2228 +0 -0
- package/gdb/base/14033/2328 +0 -0
- package/gdb/base/14033/2336 +0 -0
- package/gdb/base/14033/2337 +0 -0
- package/gdb/base/14033/2579 +0 -0
- package/gdb/base/14033/2600 +0 -0
- package/gdb/base/14033/2600_fsm +0 -0
- package/gdb/base/14033/2600_vm +0 -0
- package/gdb/base/14033/2601 +0 -0
- package/gdb/base/14033/2601_fsm +0 -0
- package/gdb/base/14033/2601_vm +0 -0
- package/gdb/base/14033/2602 +0 -0
- package/gdb/base/14033/2602_fsm +0 -0
- package/gdb/base/14033/2602_vm +0 -0
- package/gdb/base/14033/2603 +0 -0
- package/gdb/base/14033/2603_fsm +0 -0
- package/gdb/base/14033/2603_vm +0 -0
- package/gdb/base/14033/2604 +0 -0
- package/gdb/base/14033/2605 +0 -0
- package/gdb/base/14033/2605_fsm +0 -0
- package/gdb/base/14033/2605_vm +0 -0
- package/gdb/base/14033/2606 +0 -0
- package/gdb/base/14033/2606_fsm +0 -0
- package/gdb/base/14033/2606_vm +0 -0
- package/gdb/base/14033/2607 +0 -0
- package/gdb/base/14033/2607_fsm +0 -0
- package/gdb/base/14033/2607_vm +0 -0
- package/gdb/base/14033/2608 +0 -0
- package/gdb/base/14033/2608_fsm +0 -0
- package/gdb/base/14033/2608_vm +0 -0
- package/gdb/base/14033/2609 +0 -0
- package/gdb/base/14033/2609_fsm +0 -0
- package/gdb/base/14033/2609_vm +0 -0
- package/gdb/base/14033/2610 +0 -0
- package/gdb/base/14033/2610_fsm +0 -0
- package/gdb/base/14033/2610_vm +0 -0
- package/gdb/base/14033/2611 +0 -0
- package/gdb/base/14033/2612 +0 -0
- package/gdb/base/14033/2612_fsm +0 -0
- package/gdb/base/14033/2612_vm +0 -0
- package/gdb/base/14033/2613 +0 -0
- package/gdb/base/14033/2615 +0 -0
- package/gdb/base/14033/2615_fsm +0 -0
- package/gdb/base/14033/2615_vm +0 -0
- package/gdb/base/14033/2616 +0 -0
- package/gdb/base/14033/2616_fsm +0 -0
- package/gdb/base/14033/2616_vm +0 -0
- package/gdb/base/14033/2617 +0 -0
- package/gdb/base/14033/2617_fsm +0 -0
- package/gdb/base/14033/2617_vm +0 -0
- package/gdb/base/14033/2618 +0 -0
- package/gdb/base/14033/2618_fsm +0 -0
- package/gdb/base/14033/2618_vm +0 -0
- package/gdb/base/14033/2619 +0 -0
- package/gdb/base/14033/2619_fsm +0 -0
- package/gdb/base/14033/2619_vm +0 -0
- package/gdb/base/14033/2620 +0 -0
- package/gdb/base/14033/2650 +0 -0
- package/gdb/base/14033/2651 +0 -0
- package/gdb/base/14033/2652 +0 -0
- package/gdb/base/14033/2653 +0 -0
- package/gdb/base/14033/2654 +0 -0
- package/gdb/base/14033/2655 +0 -0
- package/gdb/base/14033/2656 +0 -0
- package/gdb/base/14033/2657 +0 -0
- package/gdb/base/14033/2658 +0 -0
- package/gdb/base/14033/2659 +0 -0
- package/gdb/base/14033/2660 +0 -0
- package/gdb/base/14033/2661 +0 -0
- package/gdb/base/14033/2662 +0 -0
- package/gdb/base/14033/2663 +0 -0
- package/gdb/base/14033/2664 +0 -0
- package/gdb/base/14033/2665 +0 -0
- package/gdb/base/14033/2666 +0 -0
- package/gdb/base/14033/2667 +0 -0
- package/gdb/base/14033/2668 +0 -0
- package/gdb/base/14033/2669 +0 -0
- package/gdb/base/14033/2670 +0 -0
- package/gdb/base/14033/2673 +0 -0
- package/gdb/base/14033/2673_fsm +0 -0
- package/gdb/base/14033/2674 +0 -0
- package/gdb/base/14033/2674_fsm +0 -0
- package/gdb/base/14033/2675 +0 -0
- package/gdb/base/14033/2678 +0 -0
- package/gdb/base/14033/2679 +0 -0
- package/gdb/base/14033/2680 +0 -0
- package/gdb/base/14033/2681 +0 -0
- package/gdb/base/14033/2682 +0 -0
- package/gdb/base/14033/2683 +0 -0
- package/gdb/base/14033/2684 +0 -0
- package/gdb/base/14033/2685 +0 -0
- package/gdb/base/14033/2686 +0 -0
- package/gdb/base/14033/2687 +0 -0
- package/gdb/base/14033/2688 +0 -0
- package/gdb/base/14033/2689 +0 -0
- package/gdb/base/14033/2690 +0 -0
- package/gdb/base/14033/2691 +0 -0
- package/gdb/base/14033/2692 +0 -0
- package/gdb/base/14033/2693 +0 -0
- package/gdb/base/14033/2696 +0 -0
- package/gdb/base/14033/2699 +0 -0
- package/gdb/base/14033/2701 +0 -0
- package/gdb/base/14033/2702 +0 -0
- package/gdb/base/14033/2703 +0 -0
- package/gdb/base/14033/2704 +0 -0
- package/gdb/base/14033/2753 +0 -0
- package/gdb/base/14033/2753_fsm +0 -0
- package/gdb/base/14033/2753_vm +0 -0
- package/gdb/base/14033/2754 +0 -0
- package/gdb/base/14033/2755 +0 -0
- package/gdb/base/14033/2756 +0 -0
- package/gdb/base/14033/2757 +0 -0
- package/gdb/base/14033/2830 +0 -0
- package/gdb/base/14033/2831 +0 -0
- package/gdb/base/14033/2832 +0 -0
- package/gdb/base/14033/2833 +0 -0
- package/gdb/base/14033/2834 +0 -0
- package/gdb/base/14033/2835 +0 -0
- package/gdb/base/14033/2836 +0 -0
- package/gdb/base/14033/2836_fsm +0 -0
- package/gdb/base/14033/2836_vm +0 -0
- package/gdb/base/14033/2837 +0 -0
- package/gdb/base/14033/2838 +0 -0
- package/gdb/base/14033/2838_fsm +0 -0
- package/gdb/base/14033/2838_vm +0 -0
- package/gdb/base/14033/2839 +0 -0
- package/gdb/base/14033/2840 +0 -0
- package/gdb/base/14033/2840_fsm +0 -0
- package/gdb/base/14033/2840_vm +0 -0
- package/gdb/base/14033/2841 +0 -0
- package/gdb/base/14033/2995 +0 -0
- package/gdb/base/14033/2996 +0 -0
- package/gdb/base/14033/3079 +0 -0
- package/gdb/base/14033/3079_fsm +0 -0
- package/gdb/base/14033/3079_vm +0 -0
- package/gdb/base/14033/3080 +0 -0
- package/gdb/base/14033/3081 +0 -0
- package/gdb/base/14033/3085 +0 -0
- package/gdb/base/14033/3118 +0 -0
- package/gdb/base/14033/3119 +0 -0
- package/gdb/base/14033/3164 +0 -0
- package/gdb/base/14033/3256 +0 -0
- package/gdb/base/14033/3257 +0 -0
- package/gdb/base/14033/3258 +0 -0
- package/gdb/base/14033/3350 +0 -0
- package/gdb/base/14033/3351 +0 -0
- package/gdb/base/14033/3379 +0 -0
- package/gdb/base/14033/3380 +0 -0
- package/gdb/base/14033/3381 +0 -0
- package/gdb/base/14033/3394 +0 -0
- package/gdb/base/14033/3394_fsm +0 -0
- package/gdb/base/14033/3394_vm +0 -0
- package/gdb/base/14033/3395 +0 -0
- package/gdb/base/14033/3429 +0 -0
- package/gdb/base/14033/3430 +0 -0
- package/gdb/base/14033/3431 +0 -0
- package/gdb/base/14033/3433 +0 -0
- package/gdb/base/14033/3439 +0 -0
- package/gdb/base/14033/3440 +0 -0
- package/gdb/base/14033/3455 +0 -0
- package/gdb/base/14033/3456 +0 -0
- package/gdb/base/14033/3456_fsm +0 -0
- package/gdb/base/14033/3456_vm +0 -0
- package/gdb/base/14033/3466 +0 -0
- package/gdb/base/14033/3467 +0 -0
- package/gdb/base/14033/3468 +0 -0
- package/gdb/base/14033/3501 +0 -0
- package/gdb/base/14033/3502 +0 -0
- package/gdb/base/14033/3503 +0 -0
- package/gdb/base/14033/3534 +0 -0
- package/gdb/base/14033/3541 +0 -0
- package/gdb/base/14033/3541_fsm +0 -0
- package/gdb/base/14033/3541_vm +0 -0
- package/gdb/base/14033/3542 +0 -0
- package/gdb/base/14033/3574 +0 -0
- package/gdb/base/14033/3575 +0 -0
- package/gdb/base/14033/3576 +0 -0
- package/gdb/base/14033/3596 +0 -0
- package/gdb/base/14033/3597 +0 -0
- package/gdb/base/14033/3598 +0 -0
- package/gdb/base/14033/3599 +0 -0
- package/gdb/base/14033/3600 +0 -0
- package/gdb/base/14033/3600_fsm +0 -0
- package/gdb/base/14033/3600_vm +0 -0
- package/gdb/base/14033/3601 +0 -0
- package/gdb/base/14033/3601_fsm +0 -0
- package/gdb/base/14033/3601_vm +0 -0
- package/gdb/base/14033/3602 +0 -0
- package/gdb/base/14033/3602_fsm +0 -0
- package/gdb/base/14033/3602_vm +0 -0
- package/gdb/base/14033/3603 +0 -0
- package/gdb/base/14033/3603_fsm +0 -0
- package/gdb/base/14033/3603_vm +0 -0
- package/gdb/base/14033/3604 +0 -0
- package/gdb/base/14033/3605 +0 -0
- package/gdb/base/14033/3606 +0 -0
- package/gdb/base/14033/3607 +0 -0
- package/gdb/base/14033/3608 +0 -0
- package/gdb/base/14033/3609 +0 -0
- package/gdb/base/14033/3712 +0 -0
- package/gdb/base/14033/3764 +0 -0
- package/gdb/base/14033/3764_fsm +0 -0
- package/gdb/base/14033/3764_vm +0 -0
- package/gdb/base/14033/3766 +0 -0
- package/gdb/base/14033/3767 +0 -0
- package/gdb/base/14033/3997 +0 -0
- package/gdb/base/14033/4143 +0 -0
- package/gdb/base/14033/4144 +0 -0
- package/gdb/base/14033/4145 +0 -0
- package/gdb/base/14033/4146 +0 -0
- package/gdb/base/14033/4147 +0 -0
- package/gdb/base/14033/4148 +0 -0
- package/gdb/base/14033/4149 +0 -0
- package/gdb/base/14033/4150 +0 -0
- package/gdb/base/14033/4151 +0 -0
- package/gdb/base/14033/4152 +0 -0
- package/gdb/base/14033/4153 +0 -0
- package/gdb/base/14033/4154 +0 -0
- package/gdb/base/14033/4155 +0 -0
- package/gdb/base/14033/4156 +0 -0
- package/gdb/base/14033/4157 +0 -0
- package/gdb/base/14033/4158 +0 -0
- package/gdb/base/14033/4159 +0 -0
- package/gdb/base/14033/4160 +0 -0
- package/gdb/base/14033/4163 +0 -0
- package/gdb/base/14033/4164 +0 -0
- package/gdb/base/14033/4165 +0 -0
- package/gdb/base/14033/4166 +0 -0
- package/gdb/base/14033/4167 +0 -0
- package/gdb/base/14033/4168 +0 -0
- package/gdb/base/14033/4169 +0 -0
- package/gdb/base/14033/4170 +0 -0
- package/gdb/base/14033/4171 +0 -0
- package/gdb/base/14033/4172 +0 -0
- package/gdb/base/14033/4173 +0 -0
- package/gdb/base/14033/4174 +0 -0
- package/gdb/base/14033/5002 +0 -0
- package/gdb/base/14033/548 +0 -0
- package/gdb/base/14033/549 +0 -0
- package/gdb/base/14033/6102 +0 -0
- package/gdb/base/14033/6104 +0 -0
- package/gdb/base/14033/6106 +0 -0
- package/gdb/base/14033/6110 +0 -0
- package/gdb/base/14033/6111 +0 -0
- package/gdb/base/14033/6112 +0 -0
- package/gdb/base/14033/6113 +0 -0
- package/gdb/base/14033/6117 +0 -0
- package/gdb/base/14033/6175 +0 -0
- package/gdb/base/14033/6176 +0 -0
- package/gdb/base/14033/826 +0 -0
- package/gdb/base/14033/827 +0 -0
- package/gdb/base/14033/828 +0 -0
- package/gdb/base/14033/PG_VERSION +0 -1
- package/gdb/base/14033/pg_filenode.map +0 -0
- package/gdb/base/14034/112 +0 -0
- package/gdb/base/14034/113 +0 -0
- package/gdb/base/14034/1247 +0 -0
- package/gdb/base/14034/1247_fsm +0 -0
- package/gdb/base/14034/1247_vm +0 -0
- package/gdb/base/14034/1249 +0 -0
- package/gdb/base/14034/1249_fsm +0 -0
- package/gdb/base/14034/1249_vm +0 -0
- package/gdb/base/14034/1255 +0 -0
- package/gdb/base/14034/1255_fsm +0 -0
- package/gdb/base/14034/1255_vm +0 -0
- package/gdb/base/14034/1259 +0 -0
- package/gdb/base/14034/1259_fsm +0 -0
- package/gdb/base/14034/1259_vm +0 -0
- package/gdb/base/14034/13852 +0 -0
- package/gdb/base/14034/13852_fsm +0 -0
- package/gdb/base/14034/13852_vm +0 -0
- package/gdb/base/14034/13855 +0 -0
- package/gdb/base/14034/13856 +0 -0
- package/gdb/base/14034/13857 +0 -0
- package/gdb/base/14034/13857_fsm +0 -0
- package/gdb/base/14034/13857_vm +0 -0
- package/gdb/base/14034/13860 +0 -0
- package/gdb/base/14034/13861 +0 -0
- package/gdb/base/14034/13862 +0 -0
- package/gdb/base/14034/13862_fsm +0 -0
- package/gdb/base/14034/13862_vm +0 -0
- package/gdb/base/14034/13865 +0 -0
- package/gdb/base/14034/13866 +0 -0
- package/gdb/base/14034/13867 +0 -0
- package/gdb/base/14034/13867_fsm +0 -0
- package/gdb/base/14034/13867_vm +0 -0
- package/gdb/base/14034/13870 +0 -0
- package/gdb/base/14034/13871 +0 -0
- package/gdb/base/14034/1417 +0 -0
- package/gdb/base/14034/1418 +0 -0
- package/gdb/base/14034/16386 +0 -0
- package/gdb/base/14034/16389 +0 -0
- package/gdb/base/14034/16390 +0 -0
- package/gdb/base/14034/16391 +0 -0
- package/gdb/base/14034/16393 +0 -0
- package/gdb/base/14034/16396 +0 -0
- package/gdb/base/14034/16397 +0 -0
- package/gdb/base/14034/16398 +0 -0
- package/gdb/base/14034/16400 +0 -0
- package/gdb/base/14034/16403 +0 -0
- package/gdb/base/14034/16404 +0 -0
- package/gdb/base/14034/16420 +0 -0
- package/gdb/base/14034/16423 +0 -0
- package/gdb/base/14034/16424 +0 -0
- package/gdb/base/14034/16425 +0 -0
- package/gdb/base/14034/16427 +0 -0
- package/gdb/base/14034/16430 +0 -0
- package/gdb/base/14034/16431 +0 -0
- package/gdb/base/14034/16432 +0 -0
- package/gdb/base/14034/16434 +0 -0
- package/gdb/base/14034/16437 +0 -0
- package/gdb/base/14034/16438 +0 -0
- package/gdb/base/14034/16439 +0 -0
- package/gdb/base/14034/16446 +0 -0
- package/gdb/base/14034/16449 +0 -0
- package/gdb/base/14034/16450 +0 -0
- package/gdb/base/14034/16451 +0 -0
- package/gdb/base/14034/16458 +0 -0
- package/gdb/base/14034/16461 +0 -0
- package/gdb/base/14034/16462 +0 -0
- package/gdb/base/14034/16463 +0 -0
- package/gdb/base/14034/16475 +0 -0
- package/gdb/base/14034/16478 +0 -0
- package/gdb/base/14034/16479 +0 -0
- package/gdb/base/14034/16480 +0 -0
- package/gdb/base/14034/174 +0 -0
- package/gdb/base/14034/175 +0 -0
- package/gdb/base/14034/2187 +0 -0
- package/gdb/base/14034/2224 +0 -0
- package/gdb/base/14034/2228 +0 -0
- package/gdb/base/14034/2328 +0 -0
- package/gdb/base/14034/2336 +0 -0
- package/gdb/base/14034/2337 +0 -0
- package/gdb/base/14034/2579 +0 -0
- package/gdb/base/14034/2600 +0 -0
- package/gdb/base/14034/2600_fsm +0 -0
- package/gdb/base/14034/2600_vm +0 -0
- package/gdb/base/14034/2601 +0 -0
- package/gdb/base/14034/2601_fsm +0 -0
- package/gdb/base/14034/2601_vm +0 -0
- package/gdb/base/14034/2602 +0 -0
- package/gdb/base/14034/2602_fsm +0 -0
- package/gdb/base/14034/2602_vm +0 -0
- package/gdb/base/14034/2603 +0 -0
- package/gdb/base/14034/2603_fsm +0 -0
- package/gdb/base/14034/2603_vm +0 -0
- package/gdb/base/14034/2604 +0 -0
- package/gdb/base/14034/2605 +0 -0
- package/gdb/base/14034/2605_fsm +0 -0
- package/gdb/base/14034/2605_vm +0 -0
- package/gdb/base/14034/2606 +0 -0
- package/gdb/base/14034/2606_fsm +0 -0
- package/gdb/base/14034/2606_vm +0 -0
- package/gdb/base/14034/2607 +0 -0
- package/gdb/base/14034/2607_fsm +0 -0
- package/gdb/base/14034/2607_vm +0 -0
- package/gdb/base/14034/2608 +0 -0
- package/gdb/base/14034/2608_fsm +0 -0
- package/gdb/base/14034/2608_vm +0 -0
- package/gdb/base/14034/2609 +0 -0
- package/gdb/base/14034/2609_fsm +0 -0
- package/gdb/base/14034/2609_vm +0 -0
- package/gdb/base/14034/2610 +0 -0
- package/gdb/base/14034/2610_fsm +0 -0
- package/gdb/base/14034/2610_vm +0 -0
- package/gdb/base/14034/2611 +0 -0
- package/gdb/base/14034/2612 +0 -0
- package/gdb/base/14034/2612_fsm +0 -0
- package/gdb/base/14034/2612_vm +0 -0
- package/gdb/base/14034/2613 +0 -0
- package/gdb/base/14034/2615 +0 -0
- package/gdb/base/14034/2615_fsm +0 -0
- package/gdb/base/14034/2615_vm +0 -0
- package/gdb/base/14034/2616 +0 -0
- package/gdb/base/14034/2616_fsm +0 -0
- package/gdb/base/14034/2616_vm +0 -0
- package/gdb/base/14034/2617 +0 -0
- package/gdb/base/14034/2617_fsm +0 -0
- package/gdb/base/14034/2617_vm +0 -0
- package/gdb/base/14034/2618 +0 -0
- package/gdb/base/14034/2618_fsm +0 -0
- package/gdb/base/14034/2618_vm +0 -0
- package/gdb/base/14034/2619 +0 -0
- package/gdb/base/14034/2619_fsm +0 -0
- package/gdb/base/14034/2619_vm +0 -0
- package/gdb/base/14034/2620 +0 -0
- package/gdb/base/14034/2650 +0 -0
- package/gdb/base/14034/2651 +0 -0
- package/gdb/base/14034/2652 +0 -0
- package/gdb/base/14034/2653 +0 -0
- package/gdb/base/14034/2654 +0 -0
- package/gdb/base/14034/2655 +0 -0
- package/gdb/base/14034/2656 +0 -0
- package/gdb/base/14034/2657 +0 -0
- package/gdb/base/14034/2658 +0 -0
- package/gdb/base/14034/2659 +0 -0
- package/gdb/base/14034/2660 +0 -0
- package/gdb/base/14034/2661 +0 -0
- package/gdb/base/14034/2662 +0 -0
- package/gdb/base/14034/2663 +0 -0
- package/gdb/base/14034/2664 +0 -0
- package/gdb/base/14034/2665 +0 -0
- package/gdb/base/14034/2666 +0 -0
- package/gdb/base/14034/2667 +0 -0
- package/gdb/base/14034/2668 +0 -0
- package/gdb/base/14034/2669 +0 -0
- package/gdb/base/14034/2670 +0 -0
- package/gdb/base/14034/2673 +0 -0
- package/gdb/base/14034/2673_fsm +0 -0
- package/gdb/base/14034/2674 +0 -0
- package/gdb/base/14034/2674_fsm +0 -0
- package/gdb/base/14034/2675 +0 -0
- package/gdb/base/14034/2678 +0 -0
- package/gdb/base/14034/2679 +0 -0
- package/gdb/base/14034/2680 +0 -0
- package/gdb/base/14034/2681 +0 -0
- package/gdb/base/14034/2682 +0 -0
- package/gdb/base/14034/2683 +0 -0
- package/gdb/base/14034/2684 +0 -0
- package/gdb/base/14034/2685 +0 -0
- package/gdb/base/14034/2686 +0 -0
- package/gdb/base/14034/2687 +0 -0
- package/gdb/base/14034/2688 +0 -0
- package/gdb/base/14034/2689 +0 -0
- package/gdb/base/14034/2690 +0 -0
- package/gdb/base/14034/2691 +0 -0
- package/gdb/base/14034/2692 +0 -0
- package/gdb/base/14034/2693 +0 -0
- package/gdb/base/14034/2696 +0 -0
- package/gdb/base/14034/2699 +0 -0
- package/gdb/base/14034/2701 +0 -0
- package/gdb/base/14034/2702 +0 -0
- package/gdb/base/14034/2703 +0 -0
- package/gdb/base/14034/2704 +0 -0
- package/gdb/base/14034/2753 +0 -0
- package/gdb/base/14034/2753_fsm +0 -0
- package/gdb/base/14034/2753_vm +0 -0
- package/gdb/base/14034/2754 +0 -0
- package/gdb/base/14034/2755 +0 -0
- package/gdb/base/14034/2756 +0 -0
- package/gdb/base/14034/2757 +0 -0
- package/gdb/base/14034/2830 +0 -0
- package/gdb/base/14034/2831 +0 -0
- package/gdb/base/14034/2832 +0 -0
- package/gdb/base/14034/2833 +0 -0
- package/gdb/base/14034/2834 +0 -0
- package/gdb/base/14034/2835 +0 -0
- package/gdb/base/14034/2836 +0 -0
- package/gdb/base/14034/2836_fsm +0 -0
- package/gdb/base/14034/2836_vm +0 -0
- package/gdb/base/14034/2837 +0 -0
- package/gdb/base/14034/2838 +0 -0
- package/gdb/base/14034/2838_fsm +0 -0
- package/gdb/base/14034/2838_vm +0 -0
- package/gdb/base/14034/2839 +0 -0
- package/gdb/base/14034/2840 +0 -0
- package/gdb/base/14034/2840_fsm +0 -0
- package/gdb/base/14034/2840_vm +0 -0
- package/gdb/base/14034/2841 +0 -0
- package/gdb/base/14034/2995 +0 -0
- package/gdb/base/14034/2996 +0 -0
- package/gdb/base/14034/3079 +0 -0
- package/gdb/base/14034/3079_fsm +0 -0
- package/gdb/base/14034/3079_vm +0 -0
- package/gdb/base/14034/3080 +0 -0
- package/gdb/base/14034/3081 +0 -0
- package/gdb/base/14034/3085 +0 -0
- package/gdb/base/14034/3118 +0 -0
- package/gdb/base/14034/3119 +0 -0
- package/gdb/base/14034/3164 +0 -0
- package/gdb/base/14034/3256 +0 -0
- package/gdb/base/14034/3257 +0 -0
- package/gdb/base/14034/3258 +0 -0
- package/gdb/base/14034/3350 +0 -0
- package/gdb/base/14034/3351 +0 -0
- package/gdb/base/14034/3379 +0 -0
- package/gdb/base/14034/3380 +0 -0
- package/gdb/base/14034/3381 +0 -0
- package/gdb/base/14034/3394 +0 -0
- package/gdb/base/14034/3394_fsm +0 -0
- package/gdb/base/14034/3394_vm +0 -0
- package/gdb/base/14034/3395 +0 -0
- package/gdb/base/14034/3429 +0 -0
- package/gdb/base/14034/3430 +0 -0
- package/gdb/base/14034/3431 +0 -0
- package/gdb/base/14034/3433 +0 -0
- package/gdb/base/14034/3439 +0 -0
- package/gdb/base/14034/3440 +0 -0
- package/gdb/base/14034/3455 +0 -0
- package/gdb/base/14034/3456 +0 -0
- package/gdb/base/14034/3456_fsm +0 -0
- package/gdb/base/14034/3456_vm +0 -0
- package/gdb/base/14034/3466 +0 -0
- package/gdb/base/14034/3467 +0 -0
- package/gdb/base/14034/3468 +0 -0
- package/gdb/base/14034/3501 +0 -0
- package/gdb/base/14034/3502 +0 -0
- package/gdb/base/14034/3503 +0 -0
- package/gdb/base/14034/3534 +0 -0
- package/gdb/base/14034/3541 +0 -0
- package/gdb/base/14034/3541_fsm +0 -0
- package/gdb/base/14034/3541_vm +0 -0
- package/gdb/base/14034/3542 +0 -0
- package/gdb/base/14034/3574 +0 -0
- package/gdb/base/14034/3575 +0 -0
- package/gdb/base/14034/3576 +0 -0
- package/gdb/base/14034/3596 +0 -0
- package/gdb/base/14034/3597 +0 -0
- package/gdb/base/14034/3598 +0 -0
- package/gdb/base/14034/3599 +0 -0
- package/gdb/base/14034/3600 +0 -0
- package/gdb/base/14034/3600_fsm +0 -0
- package/gdb/base/14034/3600_vm +0 -0
- package/gdb/base/14034/3601 +0 -0
- package/gdb/base/14034/3601_fsm +0 -0
- package/gdb/base/14034/3601_vm +0 -0
- package/gdb/base/14034/3602 +0 -0
- package/gdb/base/14034/3602_fsm +0 -0
- package/gdb/base/14034/3602_vm +0 -0
- package/gdb/base/14034/3603 +0 -0
- package/gdb/base/14034/3603_fsm +0 -0
- package/gdb/base/14034/3603_vm +0 -0
- package/gdb/base/14034/3604 +0 -0
- package/gdb/base/14034/3605 +0 -0
- package/gdb/base/14034/3606 +0 -0
- package/gdb/base/14034/3607 +0 -0
- package/gdb/base/14034/3608 +0 -0
- package/gdb/base/14034/3609 +0 -0
- package/gdb/base/14034/3712 +0 -0
- package/gdb/base/14034/3764 +0 -0
- package/gdb/base/14034/3764_fsm +0 -0
- package/gdb/base/14034/3764_vm +0 -0
- package/gdb/base/14034/3766 +0 -0
- package/gdb/base/14034/3767 +0 -0
- package/gdb/base/14034/3997 +0 -0
- package/gdb/base/14034/4143 +0 -0
- package/gdb/base/14034/4144 +0 -0
- package/gdb/base/14034/4145 +0 -0
- package/gdb/base/14034/4146 +0 -0
- package/gdb/base/14034/4147 +0 -0
- package/gdb/base/14034/4148 +0 -0
- package/gdb/base/14034/4149 +0 -0
- package/gdb/base/14034/4150 +0 -0
- package/gdb/base/14034/4151 +0 -0
- package/gdb/base/14034/4152 +0 -0
- package/gdb/base/14034/4153 +0 -0
- package/gdb/base/14034/4154 +0 -0
- package/gdb/base/14034/4155 +0 -0
- package/gdb/base/14034/4156 +0 -0
- package/gdb/base/14034/4157 +0 -0
- package/gdb/base/14034/4158 +0 -0
- package/gdb/base/14034/4159 +0 -0
- package/gdb/base/14034/4160 +0 -0
- package/gdb/base/14034/4163 +0 -0
- package/gdb/base/14034/4164 +0 -0
- package/gdb/base/14034/4165 +0 -0
- package/gdb/base/14034/4166 +0 -0
- package/gdb/base/14034/4167 +0 -0
- package/gdb/base/14034/4168 +0 -0
- package/gdb/base/14034/4169 +0 -0
- package/gdb/base/14034/4170 +0 -0
- package/gdb/base/14034/4171 +0 -0
- package/gdb/base/14034/4172 +0 -0
- package/gdb/base/14034/4173 +0 -0
- package/gdb/base/14034/4174 +0 -0
- package/gdb/base/14034/5002 +0 -0
- package/gdb/base/14034/548 +0 -0
- package/gdb/base/14034/549 +0 -0
- package/gdb/base/14034/6102 +0 -0
- package/gdb/base/14034/6104 +0 -0
- package/gdb/base/14034/6106 +0 -0
- package/gdb/base/14034/6110 +0 -0
- package/gdb/base/14034/6111 +0 -0
- package/gdb/base/14034/6112 +0 -0
- package/gdb/base/14034/6113 +0 -0
- package/gdb/base/14034/6117 +0 -0
- package/gdb/base/14034/6175 +0 -0
- package/gdb/base/14034/6176 +0 -0
- package/gdb/base/14034/826 +0 -0
- package/gdb/base/14034/827 +0 -0
- package/gdb/base/14034/828 +0 -0
- package/gdb/base/14034/PG_VERSION +0 -1
- package/gdb/base/14034/pg_filenode.map +0 -0
- package/gdb/base/14034/pg_internal.init +0 -0
- package/gdb/global/1213 +0 -0
- package/gdb/global/1213_fsm +0 -0
- package/gdb/global/1213_vm +0 -0
- package/gdb/global/1214 +0 -0
- package/gdb/global/1214_fsm +0 -0
- package/gdb/global/1214_vm +0 -0
- package/gdb/global/1232 +0 -0
- package/gdb/global/1233 +0 -0
- package/gdb/global/1260 +0 -0
- package/gdb/global/1260_fsm +0 -0
- package/gdb/global/1260_vm +0 -0
- package/gdb/global/1261 +0 -0
- package/gdb/global/1261_fsm +0 -0
- package/gdb/global/1261_vm +0 -0
- package/gdb/global/1262 +0 -0
- package/gdb/global/1262_fsm +0 -0
- package/gdb/global/1262_vm +0 -0
- package/gdb/global/2396 +0 -0
- package/gdb/global/2396_fsm +0 -0
- package/gdb/global/2396_vm +0 -0
- package/gdb/global/2397 +0 -0
- package/gdb/global/2671 +0 -0
- package/gdb/global/2672 +0 -0
- package/gdb/global/2676 +0 -0
- package/gdb/global/2677 +0 -0
- package/gdb/global/2694 +0 -0
- package/gdb/global/2695 +0 -0
- package/gdb/global/2697 +0 -0
- package/gdb/global/2698 +0 -0
- package/gdb/global/2846 +0 -0
- package/gdb/global/2847 +0 -0
- package/gdb/global/2964 +0 -0
- package/gdb/global/2965 +0 -0
- package/gdb/global/2966 +0 -0
- package/gdb/global/2967 +0 -0
- package/gdb/global/3592 +0 -0
- package/gdb/global/3593 +0 -0
- package/gdb/global/4060 +0 -0
- package/gdb/global/4061 +0 -0
- package/gdb/global/4175 +0 -0
- package/gdb/global/4176 +0 -0
- package/gdb/global/4177 +0 -0
- package/gdb/global/4178 +0 -0
- package/gdb/global/4181 +0 -0
- package/gdb/global/4182 +0 -0
- package/gdb/global/4183 +0 -0
- package/gdb/global/4184 +0 -0
- package/gdb/global/4185 +0 -0
- package/gdb/global/4186 +0 -0
- package/gdb/global/6000 +0 -0
- package/gdb/global/6001 +0 -0
- package/gdb/global/6002 +0 -0
- package/gdb/global/6100 +0 -0
- package/gdb/global/6114 +0 -0
- package/gdb/global/6115 +0 -0
- package/gdb/global/pg_control +0 -0
- package/gdb/global/pg_filenode.map +0 -0
- package/gdb/global/pg_internal.init +0 -0
- package/gdb/pg_hba.conf +0 -98
- package/gdb/pg_ident.conf +0 -42
- package/gdb/pg_logical/replorigin_checkpoint +0 -0
- package/gdb/pg_multixact/members/0000 +0 -0
- package/gdb/pg_multixact/offsets/0000 +0 -0
- package/gdb/pg_stat/db_0.stat +0 -0
- package/gdb/pg_stat/db_14034.stat +0 -0
- package/gdb/pg_stat/global.stat +0 -0
- package/gdb/pg_subtrans/0000 +0 -0
- package/gdb/pg_wal/000000010000000000000001 +0 -0
- package/gdb/pg_xact/0000 +0 -0
- package/gdb/postgresql.auto.conf +0 -2
- package/gdb/postgresql.conf +0 -796
- package/gdb/postmaster.opts +0 -1
- package/server/API Project-7d45e9f24a96.p12 +0 -0
- package/server/grnmap.pem +0 -31
- package/server/grnsight.pem +0 -19
- package/test-files/import-samples/attributes.graphml +0 -40
- package/test-files/import-samples/port.graphml +0 -32
- package/test-files/import-samples/simple.graphml +0 -31
- package/web-client/public/js/grnsight.min.js +0 -2371
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
ZOOM_DISPLAY_MAXIMUM_VALUE,
|
|
12
12
|
ZOOM_DISPLAY_MIDDLE,
|
|
13
13
|
ZOOM_ADAPTIVE_MAX_SCALE,
|
|
14
|
+
NETWORK_GRN_MODE
|
|
14
15
|
} from "./constants";
|
|
15
16
|
|
|
16
17
|
/* globals d3 */
|
|
@@ -33,6 +34,7 @@ import {
|
|
|
33
34
|
* Resize detection logic: to avoid "listener leaks," this is set up a single time here, with an assignable
|
|
34
35
|
* updateFunction being set when needed.
|
|
35
36
|
*/
|
|
37
|
+
|
|
36
38
|
let mutationCallback = null;
|
|
37
39
|
const resizeObserver = new MutationObserver((mutationsList, observer) => {
|
|
38
40
|
if (typeof(mutationCallback) === "function") {
|
|
@@ -50,6 +52,7 @@ export var updaters = {
|
|
|
50
52
|
export var drawGraph = function (workbook) {
|
|
51
53
|
/* eslint-enable no-unused-vars */
|
|
52
54
|
var $container = $(".grnsight-container");
|
|
55
|
+
var CURSOR_CLASSES = "cursorGrab cursorGrabbing";
|
|
53
56
|
d3.selectAll("svg").remove();
|
|
54
57
|
|
|
55
58
|
$container.removeClass(CURSOR_CLASSES).addClass("cursorGrab"); // allow graph dragging right away
|
|
@@ -61,8 +64,6 @@ export var drawGraph = function (workbook) {
|
|
|
61
64
|
|
|
62
65
|
var dashedLine = $("#dashedGrayLineButton").prop("checked");
|
|
63
66
|
|
|
64
|
-
var CURSOR_CLASSES = "cursorGrab cursorGrabbing";
|
|
65
|
-
|
|
66
67
|
$("#warningMessage").html(workbook.warnings.length !== 0 ? "Click here in order to view warnings." : "");
|
|
67
68
|
|
|
68
69
|
var getNodeWidth = function (node) {
|
|
@@ -159,35 +160,40 @@ export var drawGraph = function (workbook) {
|
|
|
159
160
|
|
|
160
161
|
var zoomDragPrevX = 0;
|
|
161
162
|
var zoomDragPrevY = 0;
|
|
163
|
+
let graphZoom = 0;
|
|
164
|
+
|
|
162
165
|
var zoomDragStarted = function () {
|
|
163
166
|
zoomDragPrevX = d3.event.x;
|
|
164
167
|
zoomDragPrevY = d3.event.y;
|
|
165
168
|
$container.removeClass(CURSOR_CLASSES).addClass("cursorGrabbing");
|
|
166
|
-
if (!adaptive) {
|
|
167
|
-
$container.removeClass(CURSOR_CLASSES);
|
|
168
|
-
}
|
|
169
169
|
};
|
|
170
170
|
|
|
171
171
|
var zoomDragged = function () {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
scale = 1 / +(string.match(/scale\(([^\)]+)\)/)[1]);
|
|
177
|
-
}
|
|
178
|
-
zoom.translateBy(zoomContainer, scale * (d3.event.x - zoomDragPrevX), scale * (d3.event.y - zoomDragPrevY));
|
|
179
|
-
zoomDragPrevX = d3.event.x;
|
|
180
|
-
zoomDragPrevY = d3.event.y;
|
|
172
|
+
var scale = 1;
|
|
173
|
+
if (zoomContainer.attr("transform")) {
|
|
174
|
+
var string = zoomContainer.attr("transform");
|
|
175
|
+
scale = 1 / +(string.match(/scale\(([^\)]+)\)/)[1]);
|
|
181
176
|
}
|
|
177
|
+
|
|
178
|
+
if (adaptive || (!adaptive &&
|
|
179
|
+
flexZoomInBounds(graphZoom) &&
|
|
180
|
+
viewportBoundsMoveDrag(graphZoom, d3.event.dx, d3.event.dy))
|
|
181
|
+
) {
|
|
182
|
+
zoom.translateBy(
|
|
183
|
+
zoomContainer,
|
|
184
|
+
scale * (d3.event.x - zoomDragPrevX),
|
|
185
|
+
scale * (d3.event.y - zoomDragPrevY)
|
|
186
|
+
);
|
|
187
|
+
}
|
|
188
|
+
zoomDragPrevX = d3.event.x;
|
|
189
|
+
zoomDragPrevY = d3.event.y;
|
|
182
190
|
};
|
|
183
191
|
|
|
184
192
|
var zoomDragEnded = function () {
|
|
185
193
|
$container.removeClass(CURSOR_CLASSES).addClass("cursorGrab");
|
|
186
|
-
if (!adaptive) {
|
|
187
|
-
$container.removeClass(CURSOR_CLASSES);
|
|
188
|
-
}
|
|
189
194
|
};
|
|
190
195
|
|
|
196
|
+
// zoomDrag and all functions that it calls handles cursor dragging
|
|
191
197
|
var zoomDrag = d3.drag()
|
|
192
198
|
.on("start", zoomDragStarted)
|
|
193
199
|
.on("drag", zoomDragged)
|
|
@@ -207,6 +213,21 @@ export var drawGraph = function (workbook) {
|
|
|
207
213
|
|
|
208
214
|
var boundingBoxContainer = zoomContainer.append("g"); // appended another g here...
|
|
209
215
|
|
|
216
|
+
// This rectangle catches all of the mousewheel and pan events, without letting
|
|
217
|
+
// them bubble up to the body.
|
|
218
|
+
var boundingBoxRect = boundingBoxContainer.append("rect")
|
|
219
|
+
.attr("width", width)
|
|
220
|
+
.attr("height", height)
|
|
221
|
+
.style("fill", "none")
|
|
222
|
+
.style("pointer-events", "all")
|
|
223
|
+
.attr("stroke", "none" )
|
|
224
|
+
.attr("id", "boundingBoxRect");
|
|
225
|
+
|
|
226
|
+
var flexibleContainerRect = boundingBoxContainer.append("rect")
|
|
227
|
+
.attr("class", "boundingBox")
|
|
228
|
+
.attr("fill", "none")
|
|
229
|
+
.attr("id", "flexibleContainerRect");
|
|
230
|
+
|
|
210
231
|
var zoom = d3.zoom()
|
|
211
232
|
.scaleExtent([MIN_SCALE, ZOOM_ADAPTIVE_MAX_SCALE])
|
|
212
233
|
.on("zoom", zoomed);
|
|
@@ -214,23 +235,14 @@ export var drawGraph = function (workbook) {
|
|
|
214
235
|
svg.style("pointer-events", "all").call(zoomDrag)
|
|
215
236
|
.style("font-family", "sans-serif");
|
|
216
237
|
|
|
217
|
-
|
|
238
|
+
// this allows zoomContainer to be zoomed, dragged
|
|
218
239
|
function zoomed () {
|
|
219
240
|
zoomContainer.attr("transform", d3.event.transform);
|
|
220
241
|
}
|
|
221
242
|
|
|
222
243
|
d3.select("svg").on("dblclick.zoom", null); // disables double click zooming
|
|
223
244
|
|
|
224
|
-
//
|
|
225
|
-
// them bubble up to the body.
|
|
226
|
-
boundingBoxContainer.append("rect")
|
|
227
|
-
.attr("width", width)
|
|
228
|
-
.attr("height", height)
|
|
229
|
-
.style("fill", "none")
|
|
230
|
-
.style("pointer-events", "all")
|
|
231
|
-
.attr("stroke", "none" )
|
|
232
|
-
.append("g");
|
|
233
|
-
|
|
245
|
+
// this controls the D-pad
|
|
234
246
|
d3.selectAll(".scrollBtn").on("click", null); // Remove event handlers, if there were any.
|
|
235
247
|
var arrowMovement = [ "Up", "Left", "Right", "Down" ];
|
|
236
248
|
arrowMovement.forEach(function (direction) {
|
|
@@ -240,14 +252,39 @@ export var drawGraph = function (workbook) {
|
|
|
240
252
|
});
|
|
241
253
|
d3.select(".center").on("click", center);
|
|
242
254
|
|
|
255
|
+
let xTranslation = 0;
|
|
256
|
+
let yTranslation = 0;
|
|
257
|
+
|
|
258
|
+
function updateZoomContainerInfo () {
|
|
259
|
+
// transform attribute of zoomContainer contains translation info about graph
|
|
260
|
+
if (zoomContainer.attr("transform")) {
|
|
261
|
+
xTranslation = Number(
|
|
262
|
+
zoomContainer
|
|
263
|
+
.attr("transform")
|
|
264
|
+
.split("(")[1]
|
|
265
|
+
.split(",")[0]
|
|
266
|
+
);
|
|
267
|
+
|
|
268
|
+
yTranslation = Number(
|
|
269
|
+
zoomContainer
|
|
270
|
+
.attr("transform")
|
|
271
|
+
.split("(")[1]
|
|
272
|
+
.split(",")[1]
|
|
273
|
+
.split(")")[0]
|
|
274
|
+
);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
// controls reading movement of zoomSlider and scaling graph to that zoomScale
|
|
243
279
|
const setGraphZoom = zoomScale => {
|
|
244
280
|
if (zoomScale < MIDDLE_SCALE) {
|
|
245
281
|
$container.removeClass(CURSOR_CLASSES).addClass("cursorGrab");
|
|
246
|
-
} else if (!adaptive && zoomScale >= MIDDLE_SCALE) {
|
|
247
|
-
$container.removeClass(CURSOR_CLASSES);
|
|
248
282
|
}
|
|
249
283
|
var container = zoomContainer;
|
|
250
|
-
|
|
284
|
+
if (adaptive || (!adaptive && flexZoomInBounds(graphZoom))) {
|
|
285
|
+
zoom.scaleTo(container, zoomScale);
|
|
286
|
+
graphZoom = zoomScale;
|
|
287
|
+
}
|
|
251
288
|
};
|
|
252
289
|
|
|
253
290
|
// See setupZoomElements below to see how these are initialized. They are declared here because
|
|
@@ -255,15 +292,34 @@ export var drawGraph = function (workbook) {
|
|
|
255
292
|
let sliderMidpoint;
|
|
256
293
|
let zoomScaleSliderLeft;
|
|
257
294
|
let zoomScaleSliderRight;
|
|
295
|
+
let prevGrnstateZoomVal;
|
|
296
|
+
let flexibleContainer = null;
|
|
258
297
|
|
|
259
298
|
const updateAppBasedOnZoomValue = () => {
|
|
299
|
+
let zoomDisplay;
|
|
260
300
|
|
|
261
|
-
|
|
262
|
-
|
|
301
|
+
// If the zoom value is out of bounds, reset it to the previous value.
|
|
302
|
+
if (adaptive) {
|
|
303
|
+
zoomDisplay = grnState.zoomValue;
|
|
304
|
+
} else if (
|
|
305
|
+
!adaptive &&
|
|
306
|
+
flexZoomInBounds(
|
|
307
|
+
(grnState.zoomValue <= ZOOM_DISPLAY_MIDDLE
|
|
308
|
+
? zoomScaleLeft
|
|
309
|
+
: zoomScaleRight)(grnState.zoomValue)
|
|
310
|
+
)
|
|
311
|
+
) {
|
|
312
|
+
zoomDisplay = grnState.zoomValue;
|
|
313
|
+
} else {
|
|
314
|
+
grnState.zoomValue = prevGrnstateZoomVal;
|
|
315
|
+
zoomDisplay = grnState.zoomValue;
|
|
263
316
|
}
|
|
264
317
|
|
|
265
|
-
const
|
|
266
|
-
|
|
318
|
+
const calcGraphZoom = (zoomDisplay <= ZOOM_DISPLAY_MIDDLE
|
|
319
|
+
? zoomScaleLeft
|
|
320
|
+
: zoomScaleRight)(zoomDisplay);
|
|
321
|
+
|
|
322
|
+
setGraphZoom(calcGraphZoom);
|
|
267
323
|
|
|
268
324
|
const finalDisplay = grnState.zoomValue;
|
|
269
325
|
$(ZOOM_PERCENT).text(`${finalDisplay}%`);
|
|
@@ -275,8 +331,21 @@ export var drawGraph = function (workbook) {
|
|
|
275
331
|
$(ZOOM_INPUT).val(finalDisplay);
|
|
276
332
|
}
|
|
277
333
|
|
|
278
|
-
|
|
279
|
-
|
|
334
|
+
// This controls movement of slider and is where the zoomSlider can be restricted
|
|
335
|
+
if (adaptive || (!adaptive && flexZoomInBounds(calcGraphZoom))) {
|
|
336
|
+
if (!adaptive) {
|
|
337
|
+
// Recenter graph when zooming to ensure that graph stays in viewport
|
|
338
|
+
center();
|
|
339
|
+
updateZoomContainerInfo();
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
$(ZOOM_SLIDER).val(
|
|
343
|
+
(finalDisplay <= ZOOM_DISPLAY_MIDDLE
|
|
344
|
+
? zoomScaleSliderLeft
|
|
345
|
+
: zoomScaleSliderRight
|
|
346
|
+
).invert(finalDisplay)
|
|
347
|
+
);
|
|
348
|
+
}
|
|
280
349
|
};
|
|
281
350
|
|
|
282
351
|
/**
|
|
@@ -317,10 +386,15 @@ export var drawGraph = function (workbook) {
|
|
|
317
386
|
}).blur(() => $(ZOOM_INPUT).val(grnState.zoomValue));
|
|
318
387
|
|
|
319
388
|
d3.select(ZOOM_SLIDER).on("input", function () {
|
|
320
|
-
const sliderValue =
|
|
389
|
+
const sliderValue = $(this).val();
|
|
390
|
+
prevGrnstateZoomVal = grnState.zoomValue;
|
|
391
|
+
|
|
321
392
|
grnState.zoomValue = Math.floor(
|
|
322
|
-
(sliderValue <= sliderMidpoint
|
|
393
|
+
(sliderValue <= sliderMidpoint
|
|
394
|
+
? zoomScaleSliderLeft
|
|
395
|
+
: zoomScaleSliderRight)(sliderValue)
|
|
323
396
|
);
|
|
397
|
+
|
|
324
398
|
updateAppBasedOnZoomValue();
|
|
325
399
|
}).on("mousedown", function () {
|
|
326
400
|
manualZoom = true;
|
|
@@ -359,20 +433,13 @@ export var drawGraph = function (workbook) {
|
|
|
359
433
|
var restrictGraphToViewport = function (fixed) {
|
|
360
434
|
if (!fixed) {
|
|
361
435
|
$("#restrict-graph-to-viewport span").removeClass("glyphicon-ok");
|
|
362
|
-
$(document).ready(function () {
|
|
363
|
-
$(".scale-and-scroll").show();
|
|
364
|
-
});
|
|
365
436
|
$("input[name=viewport]").removeProp("checked");
|
|
366
|
-
$container.addClass("cursorGrabbing");
|
|
367
437
|
adaptive = true;
|
|
368
|
-
|
|
438
|
+
flexibleContainer = null;
|
|
369
439
|
center();
|
|
370
|
-
} else
|
|
440
|
+
} else {
|
|
371
441
|
$("#restrict-graph-to-viewport span").addClass("glyphicon-ok");
|
|
372
442
|
$("input[name=viewport]").prop("checked", "checked");
|
|
373
|
-
$(document).ready(function () {
|
|
374
|
-
$(".scale-and-scroll").hide();
|
|
375
|
-
});
|
|
376
443
|
adaptive = false;
|
|
377
444
|
$container.removeClass(CURSOR_CLASSES);
|
|
378
445
|
if (grnState.zoomValue > ZOOM_DISPLAY_MIDDLE) {
|
|
@@ -382,13 +449,15 @@ export var drawGraph = function (workbook) {
|
|
|
382
449
|
}
|
|
383
450
|
width = $container.width();
|
|
384
451
|
height = $container.height();
|
|
385
|
-
d3.select("rect")
|
|
386
|
-
|
|
387
|
-
|
|
452
|
+
d3.select("rect")
|
|
453
|
+
.attr("width", width)
|
|
454
|
+
.attr("height", height);
|
|
388
455
|
$(".boundingBox").attr("width", width).attr("height", height);
|
|
389
456
|
center();
|
|
390
457
|
}
|
|
391
458
|
updateAppBasedOnZoomValue(); // Update zoom value within bounds
|
|
459
|
+
// Refresh the graph so that nodes and paths are adjusted to fit in viewport
|
|
460
|
+
tick();
|
|
392
461
|
};
|
|
393
462
|
|
|
394
463
|
d3.select("#restrict-graph-to-viewport").on("click", function () {
|
|
@@ -407,10 +476,17 @@ export var drawGraph = function (workbook) {
|
|
|
407
476
|
zoom.translateTo(zoomContainer, viewportWidth / 2, viewportHeight / 2);
|
|
408
477
|
}
|
|
409
478
|
|
|
479
|
+
// move: Moves graph with D-pad
|
|
410
480
|
function move (direction) {
|
|
411
|
-
var
|
|
412
|
-
var
|
|
413
|
-
|
|
481
|
+
var moveWidth = direction === "left" ? -50 : direction === "right" ? 50 : 0;
|
|
482
|
+
var moveHeight = direction === "up" ? -50 : direction === "down" ? 50 : 0;
|
|
483
|
+
if (adaptive) {
|
|
484
|
+
zoom.translateBy(zoomContainer, moveWidth, moveHeight);
|
|
485
|
+
} else if (!adaptive) {
|
|
486
|
+
if (viewportBoundsMoveDrag(graphZoom, moveWidth, moveHeight)) {
|
|
487
|
+
zoom.translateBy(zoomContainer, moveWidth, moveHeight);
|
|
488
|
+
}
|
|
489
|
+
}
|
|
414
490
|
}
|
|
415
491
|
|
|
416
492
|
var defs = boundingBoxContainer.append("defs");
|
|
@@ -595,70 +671,72 @@ export var drawGraph = function (workbook) {
|
|
|
595
671
|
});
|
|
596
672
|
} else {
|
|
597
673
|
// Arrowheads
|
|
598
|
-
if (
|
|
599
|
-
d.strokeWidth
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
.
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
2: 2, 3: 10.5, 4: 11, 5: 9, 6: 9, 7: 10,
|
|
610
|
-
8: 9.8, 9: 9.1, 10: 10, 11: 9.5, 12: 9, 13: 8.3,
|
|
611
|
-
14: 8.3
|
|
612
|
-
} : {
|
|
613
|
-
2: 11.75, 3: 11, 4: 9.75, 5: 9.25, 6: 8.5, 7: 10,
|
|
614
|
-
8: 9.75, 9: 9.5, 10: 9, 11: 9.5, 12: 9.5, 13: 9.25,
|
|
615
|
-
14: 9
|
|
616
|
-
}
|
|
617
|
-
)[d.strokeWidth];
|
|
618
|
-
})
|
|
619
|
-
.attr("refY", function () {
|
|
620
|
-
return ((x1 === x2 && y1 === y2) ?
|
|
621
|
-
{
|
|
622
|
-
2: 6.7, 3: 5.45, 4: 5.3, 5: 5.5, 6: 5, 7: 5.4,
|
|
623
|
-
8: 5.65, 9: 6, 10: 5.7, 11: 5.5, 12: 5.9, 13: 6,
|
|
624
|
-
14: 6
|
|
625
|
-
} : {
|
|
626
|
-
2: 5, 3: 5, 4: 4.8, 5: 5, 6: 5, 7: 4.98,
|
|
627
|
-
8: 4.9, 9: 5.2, 10: 4.85, 11: 4.7, 12: 5.15,
|
|
628
|
-
13: 5, 14: 5.3
|
|
629
|
-
}
|
|
630
|
-
)[d.strokeWidth];
|
|
631
|
-
})
|
|
632
|
-
.attr("markerUnits", "userSpaceOnUse")
|
|
633
|
-
.attr("markerWidth", function () {
|
|
634
|
-
return 12 + ((d.strokeWidth < 7) ? d.strokeWidth * 2.25 : d.strokeWidth * 3);
|
|
635
|
-
})
|
|
636
|
-
.attr("markerHeight", function () {
|
|
637
|
-
return 5 + ((d.strokeWidth < 7) ? d.strokeWidth * 2.25 : d.strokeWidth * 3);
|
|
638
|
-
})
|
|
639
|
-
.attr("orient", function () {
|
|
640
|
-
return (x1 === x2 && y1 === y2) ?
|
|
674
|
+
if (grnState.mode === NETWORK_GRN_MODE) {
|
|
675
|
+
if (d.strokeWidth === 2) {
|
|
676
|
+
d.strokeWidth = 4;
|
|
677
|
+
}
|
|
678
|
+
defs.append("marker")
|
|
679
|
+
.attr("id", "arrowhead" + selfRef + "_StrokeWidth" + d.strokeWidth + minimum)
|
|
680
|
+
.attr("viewBox", "0 0 15 15")
|
|
681
|
+
.attr("preserveAspectRatio", "xMinYMin meet")
|
|
682
|
+
.attr("refX", function () {
|
|
683
|
+
// Individual offsets for each possible stroke width
|
|
684
|
+
return ((x1 === x2 && y1 === y2) ?
|
|
641
685
|
{
|
|
642
|
-
2:
|
|
643
|
-
8:
|
|
644
|
-
14:
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
686
|
+
2: 2, 3: 10.5, 4: 11, 5: 9, 6: 9, 7: 10,
|
|
687
|
+
8: 9.8, 9: 9.1, 10: 10, 11: 9.5, 12: 9, 13: 8.3,
|
|
688
|
+
14: 8.3
|
|
689
|
+
} : {
|
|
690
|
+
2: 11.75, 3: 11, 4: 9.75, 5: 9.25, 6: 8.5, 7: 10,
|
|
691
|
+
8: 9.75, 9: 9.5, 10: 9, 11: 9.5, 12: 9.5, 13: 9.25,
|
|
692
|
+
14: 9
|
|
693
|
+
}
|
|
694
|
+
)[d.strokeWidth];
|
|
695
|
+
})
|
|
696
|
+
.attr("refY", function () {
|
|
697
|
+
return ((x1 === x2 && y1 === y2) ?
|
|
698
|
+
{
|
|
699
|
+
2: 6.7, 3: 5.45, 4: 5.3, 5: 5.5, 6: 5, 7: 5.4,
|
|
700
|
+
8: 5.65, 9: 6, 10: 5.7, 11: 5.5, 12: 5.9, 13: 6,
|
|
701
|
+
14: 6
|
|
702
|
+
} : {
|
|
703
|
+
2: 5, 3: 5, 4: 4.8, 5: 5, 6: 5, 7: 4.98,
|
|
704
|
+
8: 4.9, 9: 5.2, 10: 4.85, 11: 4.7, 12: 5.15,
|
|
705
|
+
13: 5, 14: 5.3
|
|
706
|
+
}
|
|
707
|
+
)[d.strokeWidth];
|
|
708
|
+
})
|
|
709
|
+
.attr("markerUnits", "userSpaceOnUse")
|
|
710
|
+
.attr("markerWidth", function () {
|
|
711
|
+
return 12 + ((d.strokeWidth < 7) ? d.strokeWidth * 2.25 : d.strokeWidth * 3);
|
|
712
|
+
})
|
|
713
|
+
.attr("markerHeight", function () {
|
|
714
|
+
return 5 + ((d.strokeWidth < 7) ? d.strokeWidth * 2.25 : d.strokeWidth * 3);
|
|
715
|
+
})
|
|
716
|
+
.attr("orient", function () {
|
|
717
|
+
return (x1 === x2 && y1 === y2) ?
|
|
718
|
+
{
|
|
719
|
+
2: 270, 3: 270, 4: 268, 5: 264, 6: 268, 7: 252,
|
|
720
|
+
8: 248, 9: 243, 10: 240, 11: 240, 12: 235, 13: 233,
|
|
721
|
+
14: 232
|
|
722
|
+
}[d.strokeWidth] : "auto";
|
|
723
|
+
})
|
|
724
|
+
.append("path")
|
|
725
|
+
.attr("d", "M 0 0 L 14 5 L 0 10 Q 6 5 0 0")
|
|
726
|
+
.attr("style", function () {
|
|
727
|
+
if (unweighted || !grnState.colorOptimal) {
|
|
728
|
+
color = "black";
|
|
729
|
+
} else if ( normalize(d) <= grayThreshold) {
|
|
730
|
+
color = "gray";
|
|
731
|
+
} else {
|
|
732
|
+
color = d.stroke;
|
|
733
|
+
}
|
|
734
|
+
return "stroke: " + color + "; fill: " + color;
|
|
735
|
+
});
|
|
736
|
+
}
|
|
659
737
|
}
|
|
738
|
+
return "url(#" + d.type + selfRef + "_StrokeWidth" + d.strokeWidth + minimum + ")";
|
|
660
739
|
}
|
|
661
|
-
return "url(#" + d.type + selfRef + "_StrokeWidth" + d.strokeWidth + minimum + ")";
|
|
662
740
|
});
|
|
663
741
|
|
|
664
742
|
if (workbook.sheetType === "weighted") {
|
|
@@ -1008,12 +1086,20 @@ export var drawGraph = function (workbook) {
|
|
|
1008
1086
|
.append("g")
|
|
1009
1087
|
.selectAll(".coloring")
|
|
1010
1088
|
.data(function () {
|
|
1011
|
-
if (grnState.workbook.expression[dataset]
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1089
|
+
if (grnState.workbook.expression[dataset]) {
|
|
1090
|
+
if (
|
|
1091
|
+
grnState.workbook.expression[dataset].data[p.name]
|
|
1092
|
+
) {
|
|
1093
|
+
const result = getExpressionData(
|
|
1094
|
+
p.name,
|
|
1095
|
+
dataset,
|
|
1096
|
+
average
|
|
1097
|
+
);
|
|
1098
|
+
timePoints = result.timePoints;
|
|
1099
|
+
return result.data;
|
|
1100
|
+
} else {
|
|
1101
|
+
return 0;
|
|
1102
|
+
}
|
|
1017
1103
|
}
|
|
1018
1104
|
})
|
|
1019
1105
|
.attr("class", "coloring")
|
|
@@ -1297,6 +1383,122 @@ export var drawGraph = function (workbook) {
|
|
|
1297
1383
|
}
|
|
1298
1384
|
};
|
|
1299
1385
|
|
|
1386
|
+
const BOUNDARY_MARGIN = 5;
|
|
1387
|
+
|
|
1388
|
+
function viewportBoundsMoveDrag (graphZoom, dx, dy) {
|
|
1389
|
+
updateZoomContainerInfo();
|
|
1390
|
+
flexibleContainer = calcFlexiBox();
|
|
1391
|
+
|
|
1392
|
+
if (
|
|
1393
|
+
flexibleContainer.x + flexibleContainer.width + dx >=
|
|
1394
|
+
-xTranslation / graphZoom +
|
|
1395
|
+
BOUNDARY_MARGIN / 2 +
|
|
1396
|
+
width / graphZoom -
|
|
1397
|
+
BOUNDARY_MARGIN
|
|
1398
|
+
) {
|
|
1399
|
+
return false;
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
if (flexibleContainer.x + dx <= getLeftXBoundaryMargin()) {
|
|
1403
|
+
return false;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
if (
|
|
1407
|
+
flexibleContainer.y + flexibleContainer.height + dy >=
|
|
1408
|
+
-yTranslation / graphZoom +
|
|
1409
|
+
BOUNDARY_MARGIN / 2 +
|
|
1410
|
+
height / graphZoom -
|
|
1411
|
+
BOUNDARY_MARGIN
|
|
1412
|
+
) {
|
|
1413
|
+
return false;
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
if (flexibleContainer.y + dy <= getTopYBoundaryMargin()) {
|
|
1417
|
+
return false;
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
return true;
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
function calcFlexiBox () {
|
|
1424
|
+
const nodes = simulation.nodes();
|
|
1425
|
+
let nodeWidth = 0;
|
|
1426
|
+
if (nodes.length > 0) {
|
|
1427
|
+
nodeWidth = nodes[0].textWidth + 8;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
const xValuesNodes = nodes.map((node) => node.x);
|
|
1431
|
+
const yValuesNodes = nodes.map((node) => node.y);
|
|
1432
|
+
|
|
1433
|
+
let minX = Math.min(...xValuesNodes);
|
|
1434
|
+
let maxX = Math.max(...xValuesNodes) + nodeWidth;
|
|
1435
|
+
|
|
1436
|
+
let minY = Math.min(...yValuesNodes);
|
|
1437
|
+
let maxY = Math.max(...yValuesNodes) + nodeHeight;
|
|
1438
|
+
|
|
1439
|
+
// Handle left x and top y boundaries to not exceed graph BOUNDARY_MARGINs
|
|
1440
|
+
const BOUNDARY_MARGIN_X_L = getLeftXBoundaryMargin();
|
|
1441
|
+
const BOUNDARY_MARGIN_Y_T = getTopYBoundaryMargin();
|
|
1442
|
+
minX = minX < BOUNDARY_MARGIN_X_L ? BOUNDARY_MARGIN_X_L : minX;
|
|
1443
|
+
minY = minY < BOUNDARY_MARGIN_Y_T ? BOUNDARY_MARGIN_Y_T : minY;
|
|
1444
|
+
|
|
1445
|
+
maxX =
|
|
1446
|
+
maxX > -xTranslation / graphZoom + BOUNDARY_MARGIN / 2 + width / graphZoom - BOUNDARY_MARGIN
|
|
1447
|
+
? -xTranslation / graphZoom + BOUNDARY_MARGIN / 2 + width / graphZoom - BOUNDARY_MARGIN
|
|
1448
|
+
: maxX;
|
|
1449
|
+
|
|
1450
|
+
maxY =
|
|
1451
|
+
maxY > -yTranslation / graphZoom + BOUNDARY_MARGIN / 2 + height / graphZoom - BOUNDARY_MARGIN
|
|
1452
|
+
? -yTranslation / graphZoom + BOUNDARY_MARGIN / 2 + height / graphZoom - BOUNDARY_MARGIN
|
|
1453
|
+
: maxY;
|
|
1454
|
+
|
|
1455
|
+
let flexiBoxWidth = maxX - minX;
|
|
1456
|
+
if (maxX < 0 && minX < 0) {
|
|
1457
|
+
flexiBoxWidth = Math.abs(maxX) - Math.abs(minX);
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
let flexiBoxHeight = maxY - minY;
|
|
1461
|
+
if (maxY < 0 && minY < 0) {
|
|
1462
|
+
flexiBoxHeight = Math.abs(maxY) - Math.abs(minY);
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
boundingBoxRect
|
|
1466
|
+
.attr("x", -xTranslation / graphZoom + BOUNDARY_MARGIN / 2)
|
|
1467
|
+
.attr("width", width / graphZoom - BOUNDARY_MARGIN)
|
|
1468
|
+
.attr("y", -yTranslation / graphZoom + BOUNDARY_MARGIN / 2)
|
|
1469
|
+
.attr("height", height / graphZoom - BOUNDARY_MARGIN);
|
|
1470
|
+
|
|
1471
|
+
flexibleContainerRect
|
|
1472
|
+
.attr("x", minX)
|
|
1473
|
+
.attr("y", minY)
|
|
1474
|
+
.attr("width", flexiBoxWidth)
|
|
1475
|
+
.attr("height", flexiBoxHeight);
|
|
1476
|
+
return {x: minX, y: minY, maxX: maxX, maxY: maxY, width: flexiBoxWidth, height: flexiBoxHeight};
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1479
|
+
// Checks if zoomValue is in bounds when zoom in and out
|
|
1480
|
+
function flexZoomInBounds (zoomValue) {
|
|
1481
|
+
if (flexibleContainer) {
|
|
1482
|
+
updateZoomContainerInfo();
|
|
1483
|
+
flexibleContainer = calcFlexiBox();
|
|
1484
|
+
if (flexibleContainer.width * zoomValue > width ) {
|
|
1485
|
+
return false;
|
|
1486
|
+
} else if (flexibleContainer.height * zoomValue > height) {
|
|
1487
|
+
return false;
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
return true;
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
// Only calculate Left and Top boundary margins because calculate rightboundary and bottomboundary in tick
|
|
1494
|
+
function getLeftXBoundaryMargin () {
|
|
1495
|
+
return !adaptive && flexibleContainer ? -xTranslation / graphZoom + BOUNDARY_MARGIN / 2 : BOUNDARY_MARGIN;
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
function getTopYBoundaryMargin () {
|
|
1499
|
+
return !adaptive && flexibleContainer ? -yTranslation / graphZoom + BOUNDARY_MARGIN / 2 : BOUNDARY_MARGIN;
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1300
1502
|
// Tick only runs while the graph physics are still running.
|
|
1301
1503
|
// (I.e. when the graph is completely relaxed, tick stops running.)
|
|
1302
1504
|
function tick () {
|
|
@@ -1310,12 +1512,17 @@ export var drawGraph = function (workbook) {
|
|
|
1310
1512
|
var getSelfReferringRadius = function (edge) {
|
|
1311
1513
|
return edge ? 17 + (getEdgeThickness(edge) / 2) : 0;
|
|
1312
1514
|
};
|
|
1313
|
-
|
|
1515
|
+
|
|
1314
1516
|
var SELF_REFERRING_Y_OFFSET = 6;
|
|
1315
1517
|
var MAX_WIDTH = 5000;
|
|
1316
1518
|
var MAX_HEIGHT = 5000;
|
|
1317
1519
|
var OFFSET_VALUE = 5;
|
|
1318
1520
|
|
|
1521
|
+
if (!adaptive) {
|
|
1522
|
+
flexibleContainer = calcFlexiBox();
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
// this controls movement and position of nodes, clamps the nodes to boundary
|
|
1319
1526
|
try {
|
|
1320
1527
|
node.attr("x", function (d) {
|
|
1321
1528
|
var selfReferringEdge = getSelfReferringEdge(d);
|
|
@@ -1323,25 +1530,38 @@ export var drawGraph = function (workbook) {
|
|
|
1323
1530
|
var selfReferringEdgeWidth = (selfReferringEdge ? getSelfReferringRadius(selfReferringEdge) +
|
|
1324
1531
|
selfReferringEdge.strokeWidth + 2 : 0);
|
|
1325
1532
|
var rightBoundary = width - (d.textWidth + OFFSET_VALUE) - BOUNDARY_MARGIN - selfReferringEdgeWidth;
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1533
|
+
if (!adaptive) {
|
|
1534
|
+
rightBoundary =
|
|
1535
|
+
-xTranslation / graphZoom +
|
|
1536
|
+
BOUNDARY_MARGIN / 2 +
|
|
1537
|
+
width / graphZoom -
|
|
1538
|
+
BOUNDARY_MARGIN -
|
|
1539
|
+
(d.textWidth + OFFSET_VALUE) -
|
|
1540
|
+
selfReferringEdgeWidth;
|
|
1541
|
+
}
|
|
1542
|
+
// currentXPos bounds the graph when toggle to !adaptive and moves each of the nodes to be in bounds
|
|
1543
|
+
var currentXPos = Math.max(getLeftXBoundaryMargin(), Math.min(rightBoundary, d.x));
|
|
1544
|
+
if (
|
|
1545
|
+
adaptive &&
|
|
1546
|
+
width < MAX_WIDTH &&
|
|
1547
|
+
(currentXPos === getLeftXBoundaryMargin() ||
|
|
1548
|
+
currentXPos === rightBoundary)
|
|
1549
|
+
) {
|
|
1329
1550
|
if (!d3.select(this).classed("fixed")) {
|
|
1330
1551
|
width += OFFSET_VALUE;
|
|
1331
1552
|
boundingBoxContainer.attr("width", width);
|
|
1332
1553
|
|
|
1333
1554
|
link
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1555
|
+
.attr("x1", function (d) {
|
|
1556
|
+
return d.source.x;
|
|
1557
|
+
})
|
|
1558
|
+
.attr("x2", function (d) {
|
|
1559
|
+
return d.target.x;
|
|
1560
|
+
});
|
|
1340
1561
|
|
|
1341
|
-
node
|
|
1342
|
-
.
|
|
1343
|
-
|
|
1344
|
-
});
|
|
1562
|
+
node.attr("x", function (d) {
|
|
1563
|
+
return d.x;
|
|
1564
|
+
});
|
|
1345
1565
|
}
|
|
1346
1566
|
}
|
|
1347
1567
|
return d.x = currentXPos;
|
|
@@ -1350,24 +1570,34 @@ export var drawGraph = function (workbook) {
|
|
|
1350
1570
|
var selfReferringEdgeHeight = (selfReferringEdge ? getSelfReferringRadius(selfReferringEdge) +
|
|
1351
1571
|
selfReferringEdge.strokeWidth + SELF_REFERRING_Y_OFFSET + 0.5 : 0);
|
|
1352
1572
|
var bottomBoundary = height - nodeHeight - BOUNDARY_MARGIN - selfReferringEdgeHeight;
|
|
1353
|
-
|
|
1573
|
+
if (!adaptive) {
|
|
1574
|
+
bottomBoundary =
|
|
1575
|
+
-yTranslation / graphZoom +
|
|
1576
|
+
BOUNDARY_MARGIN / 2 +
|
|
1577
|
+
height / graphZoom -
|
|
1578
|
+
BOUNDARY_MARGIN -
|
|
1579
|
+
nodeHeight -
|
|
1580
|
+
selfReferringEdgeHeight;
|
|
1581
|
+
}
|
|
1582
|
+
// currentYPos bounds the graph when toggle to !adaptive and moves each of the nodes to be in bounds
|
|
1583
|
+
var currentYPos = Math.max(getTopYBoundaryMargin(), Math.min(bottomBoundary, d.y));
|
|
1584
|
+
|
|
1354
1585
|
if (adaptive && height < MAX_HEIGHT &&
|
|
1355
|
-
(currentYPos ===
|
|
1586
|
+
(currentYPos === getTopYBoundaryMargin() || currentYPos === bottomBoundary)) {
|
|
1356
1587
|
if (!d3.select(this).classed("fixed")) {
|
|
1357
1588
|
height += OFFSET_VALUE;
|
|
1358
1589
|
boundingBoxContainer.attr("height", height);
|
|
1359
1590
|
link
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1591
|
+
.attr("y1", function (d) {
|
|
1592
|
+
return d.source.y;
|
|
1593
|
+
})
|
|
1594
|
+
.attr("y2", function (d) {
|
|
1595
|
+
return d.target.y;
|
|
1596
|
+
});
|
|
1366
1597
|
|
|
1367
|
-
node
|
|
1368
|
-
.
|
|
1369
|
-
|
|
1370
|
-
});
|
|
1598
|
+
node.attr("y", function (d) {
|
|
1599
|
+
return d.y;
|
|
1600
|
+
});
|
|
1371
1601
|
}
|
|
1372
1602
|
}
|
|
1373
1603
|
return d.y = currentYPos;
|
|
@@ -1403,7 +1633,6 @@ export var drawGraph = function (workbook) {
|
|
|
1403
1633
|
var ADDITIONAL_SHIFT = 0.07;
|
|
1404
1634
|
var END_POINT_ADJUSTMENT = 1.2;
|
|
1405
1635
|
|
|
1406
|
-
|
|
1407
1636
|
// Self edge.
|
|
1408
1637
|
if (x1 === x2 && y1 === y2) {
|
|
1409
1638
|
// Move the position of the loop.
|
|
@@ -1499,8 +1728,49 @@ export var drawGraph = function (workbook) {
|
|
|
1499
1728
|
}
|
|
1500
1729
|
|
|
1501
1730
|
function dragged (d) {
|
|
1502
|
-
|
|
1503
|
-
|
|
1731
|
+
if (!adaptive) {
|
|
1732
|
+
/* fx and fy stands for fixed x and y which is when node is fixed to a position or
|
|
1733
|
+
to prevent tick from adjusting position of node
|
|
1734
|
+
*/
|
|
1735
|
+
// prevents nodes from being dragged outside of right boundary
|
|
1736
|
+
if (
|
|
1737
|
+
d3.event.x + d.textWidth <=
|
|
1738
|
+
-xTranslation / graphZoom + BOUNDARY_MARGIN / 2 +
|
|
1739
|
+
width / graphZoom -
|
|
1740
|
+
BOUNDARY_MARGIN
|
|
1741
|
+
) {
|
|
1742
|
+
d.fx = d3.event.x;
|
|
1743
|
+
} else {
|
|
1744
|
+
d.fx =
|
|
1745
|
+
-xTranslation / graphZoom +
|
|
1746
|
+
BOUNDARY_MARGIN / 2 +
|
|
1747
|
+
width / graphZoom -
|
|
1748
|
+
BOUNDARY_MARGIN -
|
|
1749
|
+
d.textWidth;
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
// prevent nodes from being dragged out of bottom boundary
|
|
1753
|
+
if (
|
|
1754
|
+
d3.event.y + nodeHeight <=
|
|
1755
|
+
-yTranslation / graphZoom +
|
|
1756
|
+
BOUNDARY_MARGIN / 2 +
|
|
1757
|
+
height / graphZoom -
|
|
1758
|
+
BOUNDARY_MARGIN
|
|
1759
|
+
) {
|
|
1760
|
+
// fy stands for fixed y
|
|
1761
|
+
d.fy = d3.event.y;
|
|
1762
|
+
} else {
|
|
1763
|
+
d.fy =
|
|
1764
|
+
-yTranslation / graphZoom +
|
|
1765
|
+
BOUNDARY_MARGIN / 2 +
|
|
1766
|
+
height / graphZoom -
|
|
1767
|
+
BOUNDARY_MARGIN -
|
|
1768
|
+
nodeHeight;
|
|
1769
|
+
}
|
|
1770
|
+
} else {
|
|
1771
|
+
d.fx = d3.event.x;
|
|
1772
|
+
d.fy = d3.event.y;
|
|
1773
|
+
}
|
|
1504
1774
|
}
|
|
1505
1775
|
|
|
1506
1776
|
grnState.simulation = simulation;
|