Commit graph

46 commits

Author SHA1 Message Date
rand00
e5e7e7d3fa Opam_graph: Added new functions for stats + coloring nodes based on this + some styling 2022-03-17 16:32:21 +01:00
rand
7a8ca76c90 Merge pull request 'Fix cmdliner deprecations' (#4) from 20220221_fix_cmdliner_deprecations into main
Reviewed-on: https://git.robur.io/robur/opam-graph/pulls/4
2022-03-16 11:06:09 +00:00
rand
ae8dd4d08d Merge pull request 'Scoping all CSS classes so the viz is (more) compatible with inclusion in existing HTML-doc' (#5) from 20220315_scoping_CSS_classes into main
Reviewed-on: https://git.robur.io/robur/opam-graph/pulls/5
2022-03-16 11:05:45 +00:00
rand00
2f830e56a4 Opam_graph: Scoping all CSS classes so the viz is (more) compatible with inclusion in existing HTML-doc 2022-03-15 18:31:09 +01:00
rand00
2f16bae5dd Merge branch 'main' into 20220221_fix_cmdliner_deprecations 2022-02-21 15:52:48 +01:00
rand00
58591483c0 Main: Fixed usage of new Cmdliner interface 2022-02-21 15:50:09 +01:00
rand00
d47f1d083d opam: Set minimal version of cmdliner to 1.1.0 2022-02-21 15:49:25 +01:00
e618426072 Merge pull request 'Fixed firefox bug, where a 'too small viewBox' leads to wrong hitboxes' (#3) from 20220210_fixing_firefox_bug_by_changing_viewbox into main
Reviewed-on: https://git.robur.io/robur/opam-graph/pulls/3
2022-02-14 09:39:37 +00:00
rand00
a7b2d42b70 Opam_graph: Fixed firefox bug, where a 'too small viewBox' leads to wrong hitboxes 2022-02-10 18:35:29 +01:00
rand
b4f8db5309 Merge pull request 'New rendering formats: UI for Builder-web and graphviz' (#2) from 20220105_adding_ocamldot_output_support into main
Reviewed-on: https://git.robur.io/robur/opam-graph/pulls/2
2022-01-28 10:47:36 +00:00
rand00
1e7a4867b3 .gitignore 2022-01-28 11:42:45 +01:00
rand00
95962767d2 app/main.ml: Added output-format enum to cmdliner doc 2022-01-28 11:37:00 +01:00
80e9a68e5b flesh out opam file 2022-01-27 12:58:49 +01:00
2bd5d0eae3 whitespace cleanups, removed removal of warnings 2022-01-27 12:58:39 +01:00
82f99de39c use cmdliner 2022-01-27 12:58:01 +01:00
rand00
9bee347c17 Opam_graph: Changed color of shared-deps nodes 2022-01-26 21:15:12 +01:00
rand00
07d81a6073 Opam_graph: Passing out svg attributes and content to outer Html.svg node - fixes UI too 2022-01-26 18:06:23 +01:00
rand00
0a875c2e35 Opam_graph: UI: Played around with hitbox for layer2 deps to fix firefox hover-hitbox - firefox seems broken vs chromium 2022-01-19 17:43:44 +01:00
rand00
9c6d140c43 Opam_graph: UI: Bigger hitboxes for layer2 deps 2022-01-19 16:36:20 +01:00
rand00
0d92f5c9ac Opam_graph: UI: Syntax, comments and removed redundant logic in grid-algo 2022-01-17 19:59:12 +01:00
rand00
ae3a457d41 Opam_graph: UI: Implemented alternative layer2 deps layout-algorithm (spiral grid) 2022-01-17 19:49:02 +01:00
rand00
7c21692e2d Opam_graph: UI: Implemented much better hitboxes for direct deps 2022-01-17 16:15:05 +01:00
rand00
70698c9b66 Opam_graph: UI: Implemented shared-dependencies marking on hover 2022-01-14 19:23:36 +01:00
rand00
9623303f9f Opam_graph: UI: Generating css to make hove on direct-dep edges scale direct-dep 2022-01-14 11:07:32 +01:00
rand00
ad55010752 Opam_graph: UI: Removed old transform-origin override + todo-node for generating CSS 2022-01-13 17:40:09 +01:00
rand00
2c81dd1319 Opam_graph: UI: Hack to set transform-origins on svg-elements 2022-01-13 17:30:51 +01:00
rand00
f9d76de12d Opam_graph: UI: Playing with solution to SVG paint-order vs CSS sibling-selector order 2022-01-13 17:04:31 +01:00
rand00
48a6510409 Opam_graph: UI: New radius calculation for layer2 deps bg that is a tighter fit 2022-01-13 12:06:03 +01:00
rand00
f245509c80 Opam_graph: UI: Styling: Alternative layer2 deps bg 2022-01-13 12:02:32 +01:00
rand00
167b657a2f Opam_graph: UI: Adding edges to layer2 deps blobs - beautiful visual bug 2022-01-13 11:50:27 +01:00
rand00
dae09527d2 Opam_graph: UI: Implemented radial-gradient bg behind layer2 deps blobs 2022-01-12 19:38:11 +01:00
rand00
ca489c91d2 Opam_graph: UI: Rendering layer2-deps 2 layers of spirals to exploit area better 2022-01-12 17:28:10 +01:00
rand00
99a90b91ae Opam_graph: UI: Rendering layer2-deps in spirals 2022-01-12 16:34:47 +01:00
rand00
c985ecc156 Opam_graph: UI: More informative info box on direct deps 2022-01-12 15:59:22 +01:00
rand00
6f9b90eff9 Opam_graph: UI: Rendering direct-dep edges + some arbitrary styling 2022-01-12 15:44:05 +01:00
rand00
a251ec04da Opam_graph: UI: Visualizing direct deps in the correct flat structure for future CSS selectors 2022-01-12 15:22:01 +01:00
rand00
fd0d6c3ee8 dune: Added gg 2022-01-12 15:20:16 +01:00
rand00
5592e146fd Opam_graph: WIP: Implementing deps. UI: Now there is html output via CLI 2022-01-11 15:56:18 +01:00
rand00
47a4c37c76 WIP: Begun implementing svg UI based on scaleable idea for hover-effects + Changed cli-interface 2022-01-11 13:47:59 +01:00
rand00
0b21c30cc2 Implemented prototype UIs via graphviz output + Fixed bug introduced earlier 2022-01-10 17:49:21 +01:00
rand00
35ce449452 dune: Added rresult 2022-01-10 17:48:01 +01:00
rand00
fb9581ef2b Consistency fix + added skeleton Ui_prototype for graphviz UI mockup 2022-01-07 14:38:30 +01:00
rand00
da630e7694 Implemented transitive deps output ('text_transitive' cli arg) 2022-01-07 14:09:34 +01:00
rand00
8440053608 Added output support for graphviz - select by passing 'text'/'dot' before opam-switch file 2022-01-06 14:53:36 +01:00
rand00
3a738d9299 app/dune: Gave public name to support dune exec 2022-01-05 20:53:16 +01:00
877137377a initial 2021-12-20 14:25:23 +01:00