Add visual node editor with backend support and link testing#388
Draft
x0rz4 wants to merge 5 commits intoSagit-chu:mainfrom
Draft
Add visual node editor with backend support and link testing#388x0rz4 wants to merge 5 commits intoSagit-chu:mainfrom
x0rz4 wants to merge 5 commits intoSagit-chu:mainfrom
Conversation
- Implemented new API endpoints for visual graph management and node probing. - Added visual graph handler and probe handler in the backend. - Created a new VisualPage and VisualEditor components in the frontend. - Integrated reactflow for visual node configuration with drag-and-drop support. - Developed custom node and edge components for enhanced visualization. - Added sidebar for displaying node metrics and connection details. - Implemented link testing functionality with real-time diagnostics. - Updated package.json to include necessary dependencies for visual features. - Enhanced admin layout to include visual editor access.
…rting - Refactored ConnectionEdge component to implement link testing functionality. - Added a modal to display results of the link test, including success status, average time, and packet loss. - Improved user interaction with hover effects and clearer error messages. - Introduced VisualEntityNode component for rendering visual nodes with distinct styles based on type (system, tunnel, forward). - Created a new plan for extending the visual page into a visual editor for tunnels and forwards.
…fyTunnelNode components - Implemented PortMappingEdge for visual representation of port mappings with link diagnostics. - Created ComfyForwardNode to display forwarding rules with associated tunnel information. - Developed ComfyServerNode to show server metrics including CPU and memory usage. - Added ComfyTunnelNode for visualizing tunnel configurations and related metrics.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
初版打磨成这样,其他的需要慢慢优化

PS:部署功能尚未进行实际测试。手上没有空闲的服务器进行测试,请大佬有空帮忙进行docker镜像编译测试和优化