Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(chart): add zoom buttons to the designer #378

Merged
merged 1 commit into from
Sep 3, 2020
Merged

feat(chart): add zoom buttons to the designer #378

merged 1 commit into from
Sep 3, 2020

Conversation

jamaljsr
Copy link
Owner

@jamaljsr jamaljsr commented Sep 3, 2020

Description

Add the ability to zoom in & out the designer and nodes to more easily visualize the network.

Steps to Test

  1. Click on a network
  2. Click on the zoom icons on the bottom right of the canvas
  3. Use the mouse wheel scroll to also adjust the zoom level
  4. Drag a new node onto the canvas to ensure proper placement

Screenshots

image

@codecov-commenter
Copy link

codecov-commenter commented Sep 3, 2020

Codecov Report

Merging #378 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #378   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          113       113           
  Lines         3237      3245    +8     
  Branches       595       594    -1     
=========================================
+ Hits          3237      3245    +8     
Impacted Files Coverage Δ
src/components/designer/NetworkDesigner.tsx 100.00% <100.00%> (ø)
src/store/models/designer.ts 100.00% <100.00%> (ø)
src/utils/chart.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update da3d511...8f4a45e. Read the comment docs.

@jamaljsr jamaljsr merged commit f80b034 into master Sep 3, 2020
@jamaljsr jamaljsr deleted the zoom branch September 3, 2020 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants