176 Commits
Author SHA1 Message Date
Benjamin Arntzen 76ab7a4b0d Improve framerate by optimising update intervals. 😎 2024-07-04 00:52:14 -03:00
Benjamin Arntzen (aider) 9703a5a785 Improved the pie chart calculation and fixed the missing nodes issue in the log processing. 2024-07-04 00:18:18 -03:00
Benjamin Arntzen (aider) 3bc7f0eeb1 Improved node update logic in the client-side JavaScript. 2024-07-04 00:10:25 -03:00
Benjamin Arntzen (aider) f5f8946988 Implemented batch updates, optimized performance-critical functions, and throttled updates for large node clusters. 2024-07-04 00:05:51 -03:00
Benjamin Arntzen (aider) 12dbf40215 Removed throttling for node and counter updates to improve performance and reach 60fps. 2024-07-03 23:59:28 -03:00
Benjamin Arntzen (aider) 384ffb7667 Fixed the invalid WebSocket subprotocol by removing the object argument. 2024-07-03 23:23:34 -03:00
Benjamin Arntzen (aider) 574ebecd2d Implemented WebSocket compression and batched updates to improve performance. 2024-07-03 23:23:06 -03:00
Benjamin Arntzen da59558218 Switch back to yarn 2024-07-03 23:20:03 -03:00
Benjamin Arntzen (aider) 0250772c76 Separated node update and counter update logic, improved performance by throttling counter updates. 2024-06-27 11:12:03 +01:00
Benjamin Arntzen (aider) 2d7d4c356d Removed pie chart update and added immediate counter update. 2024-06-27 11:09:54 +01:00
Benjamin Arntzen 183ec0d5bf Separated pie chart update from node update and added throttling for both. 2024-06-27 11:09:53 +01:00
Benjamin Arntzen (aider) 10fd8cd461 Increased the update interval for the network visualization from 50ms to 120ms. 2024-06-27 11:09:28 +01:00
Benjamin Arntzen (aider) b50e7d6631 Reduced the update interval to 50ms to throttle the node updates. 2024-06-27 11:08:28 +01:00
Benjamin Arntzen (aider) d93265b849 Improved pie chart display and performance by removing throttling and updating the chart immediately on node color changes. 2024-06-27 11:07:09 +01:00
Benjamin Arntzen (aider) 7ff0a4f6d2 Implemented a requestAnimationFrame-based update loop to improve performance and reduce redundant calls to resizeAndCenterNetwork. 2024-06-27 10:59:04 +01:00
Benjamin Arntzen (aider) 9f336fb406 Implemented dynamic node border updates based on small group membership and updated the counter display. 2024-06-27 10:38:06 +01:00
Benjamin Arntzen (aider) 093f3e45d4 Implemented small group detection and updated node halos for nodes in small groups. 2024-06-27 10:35:58 +01:00
Benjamin Arntzen (aider) 00a42c257c Implemented a more robust algorithm to select a contrasting color based on distance from the original color. 2024-06-27 10:34:17 +01:00
Benjamin Arntzen (aider) fd735be762 Improved the algorithm for calculating contrasting color based on node color. 2024-06-27 10:32:23 +01:00
Benjamin Arntzen (aider) 9a71345862 Adjusted node border width and contrasting color logic for outlier halos. 2024-06-27 10:31:22 +01:00
Benjamin Arntzen (aider) 5dfabefd9e Implemented contrasting halo color for small groups in the node update logic. 2024-06-27 10:29:59 +01:00
Benjamin Arntzen (aider) 308622dde4 Implemented toggle for pie chart and outlier halos, added explanatory text. 2024-06-27 10:28:30 +01:00
Benjamin Arntzen (aider) 08be589c1c Added visual indicators for small groups in the network graph. 2024-06-27 10:26:43 +01:00
Benjamin Arntzen (aider) 8045357375 Reduced node border width and removed border color for a cleaner visual appearance. 2024-06-27 10:25:07 +01:00
Benjamin Arntzen (aider) e39740d36d Reduced spring length, decreased node border width, and changed node border color. 2024-06-27 10:24:03 +01:00
Benjamin Arntzen (aider) 357ef5228a Decreased spring length and disabled node overlap avoidance. 2024-06-27 10:22:51 +01:00
Benjamin Arntzen (aider) 4034d7bb18 Increased spring length, added node overlap avoidance, and enlarged node size. 2024-06-27 10:22:36 +01:00
Benjamin Arntzen 15ef89570b Bump query time back to 5s 2024-06-27 10:11:27 +01:00
Benjamin Arntzen (aider) 1987a81798 Reduced the minimum polling interval to 50ms and capped the maximum polling interval at 400ms. 2024-06-27 10:10:07 +01:00
Benjamin Arntzen (aider) 8cc0d36f24 Added a counter display to show the number and percentage of nodes for each color. 2024-06-27 10:07:44 +01:00
Benjamin Arntzen (aider) afa1771c51 Implemented secure WebSocket connection based on the current protocol. 2024-06-27 09:41:05 +01:00
Benjamin Arntzen 78a5a3e60b Refactored WebSocket connection to use dynamic host URL. 2024-06-27 09:41:04 +01:00
Benjamin Arntzen (aider) 51545ae454 Changed the default behavior to hide the pie chart on page load 2024-06-27 09:37:56 +01:00
Benjamin Arntzen (aider) e82a202147 Implemented dynamic polling interval with exponential backoff to handle errors and optimize performance. 2024-06-27 09:22:55 +01:00
Benjamin Arntzen (aider) 203d315d35 Increased the size of the pie chart container, added a white background and rounded corners, and added percentage labels to the pie chart slices. 2024-06-27 09:09:29 +01:00
Benjamin Arntzen (aider) 364c12a709 Ensure response.data is a string before calling trim. 2024-06-27 09:01:47 +01:00
Benjamin Arntzen (aider) 4ef38f86fd Removed redundant call to resizeAndCenterNetwork on stabilizationIterationsDone event. 2024-06-27 09:00:06 +01:00
Benjamin Arntzen (aider) b8199d1ad3 Center the network view initially on stabilization iterations done. 2024-06-27 08:59:20 +01:00
Benjamin Arntzen (aider) 923b26821b Added throttling to update pie chart and batched node updates. 2024-06-27 08:39:23 +01:00
Benjamin Arntzen (aider) 01cf97a3f2 Improved the pie chart by calculating the current color distribution of nodes and updating the chart accordingly. 2024-06-27 08:37:29 +01:00
Benjamin Arntzen (aider) 78de449b39 Increased the size of the pie chart container, updated the pie chart data and labels, and added font size to the color distribution text. 2024-06-27 08:35:57 +01:00
Benjamin Arntzen (aider) 7d7017adef Filtered out empty or undefined color values from the color distribution before updating the pie chart. 2024-06-27 08:35:00 +01:00
Benjamin Arntzen (aider) 763faf861b Added a call to updatePieChart when the page loads and improved the appearance of the pie chart container. 2024-06-27 08:32:08 +01:00
Benjamin Arntzen (aider) 5f6fc88b9b Increased the z-index of the pie chart container to ensure it is displayed on top of other elements. 2024-06-27 08:31:12 +01:00
Benjamin Arntzen (aider) f2b0ac08f3 Improved the responsiveness and tooltip of the pie chart in the application. 2024-06-27 08:30:17 +01:00
Benjamin Arntzen (aider) 8c6ed813bc Added a pie chart visualization and functionality to display the color distribution of nodes. 2024-06-27 08:28:56 +01:00
Benjamin Arntzen (aider) 739754004f Added debug logging and periodic reporting of event handling and client event sending statistics. 2024-06-27 08:24:37 +01:00
Benjamin Arntzen 6d47732a27 Fix readme 2024-06-27 08:18:47 +01:00
Benjamin Arntzen (aider) feeae16149 Refactored color generation logic and extracted helper function for color calculations. 2024-06-27 08:16:15 +01:00
Benjamin Arntzen (aider) 6c4666bf59 Updated color generation logic and reduced interval for API requests in server. 2024-06-27 08:15:32 +01:00