Filip Barl
19202a2e44
Fixed the selectors performance leaks.
2017-03-01 12:14:36 +01:00
Filip Barl
11ce5638c5
Moved nodes-chart-layout.
...
Moved nodes-chart-zoom.
Moved zoomCache to global state.
Moved nodes-chart-focus.
Fixed some bugs and polished the code.
Keeping track of topology options in zoomCache.
Fixed forceRelayout and circular layout.
Unified graph complexity heuristic criterion.
2017-03-01 12:14:36 +01:00
jpellizzari
f2f474ac80
Change to load contrast theme dynamically
2017-02-21 10:29:43 -08:00
Filip Barl
e5c655aa88
Addressed the comments.
2017-02-20 11:10:44 +01:00
Filip Barl
6d0066cd38
Polished the selectors code and fixed failing tests.
2017-02-20 10:58:26 +01:00
Filip Barl
b9ba83ffca
Moved the node networks computation to selectors.
2017-02-20 10:58:26 +01:00
Filip Barl
5bd8e8f690
Renamed 'subLabel' to 'labelMinor' and removed 'node_count' property.
2017-02-20 10:58:26 +01:00
Filip Barl
3987e95465
Moved the node layout metrics computation to selectors.
2017-02-20 10:58:26 +01:00
Filip Barl
2a54085c62
Node transformations done from NodeContainer. Put node searching logic in selectors.
2017-02-20 10:58:26 +01:00
jpellizzari
c9048d8661
Revert "Merge pull request #2204 from weaveworks/contrast-as-component"
...
This reverts commit 68e8cbf4f6 , reversing
changes made to 00408b84e8 .
Reverts bug where contrast mode is showing by default
2017-02-14 10:59:34 -08:00
jpellizzari
4e4848f3c4
Changed svg nodes to use contrastMode state
2017-02-13 09:49:55 -08:00
Filip Barl
df2193cd95
Fix rounded square node shadow radius
2017-02-08 18:41:46 +01:00
Filip Barl
c8c6dd84c2
Fixed the node stack display bug.
2017-02-08 18:25:05 +01:00
Filip Barl
2b4ba3239c
Fixed the node labels bug on Firefox.
2017-02-03 17:06:53 +01:00
Filip Barl
c9ff15f7f3
Re-applied PR #2128 'Graph layout optimizations'
2017-02-03 16:59:25 +01:00
Filip Barl
8eaa12e680
Revert "Graph layout optimizations"
2017-02-02 11:42:12 +01:00
Filip Barl
c802c8c6c1
Addressed @foot's UI comments
2017-02-01 16:27:23 +01:00
Filip Barl
2a6308bf6c
Split the zooming and layout logic in nodes-chart.js between a bunch of selectors
2017-02-01 16:27:23 +01:00
Filip Barl
632e3756c4
Optimized rendering of graph layout and zooming events
2017-02-01 16:27:23 +01:00
Filip Barl
26b3e9efc9
Reapplied all the eslint upgrade changes
2016-12-15 15:04:53 +01:00
David
99bfab89b7
Revert "Upgraded eslint & eslint-config-airbnb"
2016-12-12 16:06:13 +01:00
Filip Barl
a1d1b49aeb
Addressed @jpellizzari's comment
2016-12-12 11:23:09 +01:00
Filip Barl
71f44e8b70
Got rid of findDOMNode helper
2016-12-12 11:04:49 +01:00
Filip Barl
86d61cf0d6
Extracted 'static' methods outside of classes for the 'class-methods-use-this' lint rule
2016-12-12 11:04:15 +01:00
Filip Barl
776b4d72eb
Applied no-mixed-operators linting rule
2016-12-12 11:03:16 +01:00
Filip Barl
3fdcd9b5e7
Applied arrow-parens linting rule
2016-12-12 11:02:18 +01:00
fbarl
e47c3e0973
Applied a couple of simpler rules
2016-12-12 10:56:56 +01:00
fbarl
0cb48f6d71
Upgraded eslint, airbnb linting rules, and made trivial fixes
2016-12-12 10:55:45 +01:00
fbarl
524e2e2e9a
Importing lodash util functions explicitly.
2016-12-09 14:03:31 +01:00
fbarl
e8eba61c37
Remove the dagre waypoints limitation for edges and replace it with WAYPOINTS_CAP constant for fine tunning ( fix #1187 )
2016-12-02 17:00:46 +01:00
Simon Howe
f50e0bf72f
Fixes container and pod metric fill direction back to vertical
...
Was flipped to horizontal for a bit there as we transitioned from d3 v3->v4
2016-11-30 11:32:16 +01:00
fbarl
52136cd8b5
Replaced rangeBands with scaleBand().range
2016-11-30 11:15:40 +01:00
fbarl
34033ee46e
Implemented round function as a replacement for d3.round
...
Removed d3 from vendors
2016-11-28 17:32:10 +01:00
fbarl
7442ff3f41
Switched to D3 version 4.4.0
2016-11-28 13:16:10 +01:00
Simon Howe
79a9598d0f
Change spelling for eslint
2016-11-24 17:07:12 +01:00
David Kaltschmidt
beed39f13e
Add feature flags to test
2016-11-24 17:07:12 +01:00
David Kaltschmidt
aa7b85b5f0
Use feature flags in nodes-layout
2016-11-24 17:07:12 +01:00
David Kaltschmidt
d131e99039
Simplified layout steps for singles and same-ranks
2016-11-24 17:06:04 +01:00
David Kaltschmidt
90c7659526
Dont relayout for new unconnected nodes
2016-11-24 17:06:04 +01:00
David Kaltschmidt
ee61ff7143
Test and debugbar tools to simulate single nodes appearing
2016-11-24 17:06:04 +01:00
jpellizzari
3b84149f38
Fixed details panel not closing on canvas click
2016-11-08 13:24:49 -08:00
jpellizzari
2baf7d49b1
Changed client deps to work with Node v6.9
2016-10-27 17:10:08 -07:00
Simon Howe
2ca23507de
label_minor -> labelMinor, closer to all camelCase api
2016-10-19 10:50:11 +02:00
Simon Howe
fc95e1efa0
Fixes selected layout!
...
(was the removal of :id from the node objects)
Only show errors in webpack output!
Tidying up
More tidying
more tidying
More fiddling around
wip
wip
wip
Fixes forceLayout
rm console.log
2016-09-15 11:55:25 +02:00
Simon Howe
a1b8e963dc
nodes-chart only re-rendered on prop updates!!!
2016-09-15 11:55:25 +02:00
Simon Howe
4b7471b1b0
things working again, on the way to reselect!
2016-09-15 11:55:25 +02:00
Simon Howe
9ce399607a
This works! Look into getting redux in there next
2016-09-15 11:55:24 +02:00
Simon Howe
cf6d703c18
Fixes metrics-on-canvas updating.
...
- We were being a bit overzealous w/ our layout caching.
2016-09-15 11:54:01 +02:00
Simon Howe
e73440e9f1
Fixes top of node-blue-search-highlight from being chopped off.
...
- Increase line height so that it doesn't fall over the side of the
container (which is overflow: hidden).
- Compensate for line-height increase w/ small label position tweak.
2016-08-18 14:50:37 +02:00
Simon Howe
86101764b6
Tweak node/label-sizes to avoid overlap in certain layouts.
...
- Also permanently enables the label bg (previous was only on hover) to
aid readibility w/ the (sometimes) smaller labels.
2016-08-17 16:03:47 +02:00