After successfully running a simulation, epanet-js offers tools to visualize your results on your map. This allows you to quickly identify trends, understand hydraulic behavior, and pinpoint areas of interest or concern. The Analysis Tab in the side panel is your control center for these visualizations.

image.png

Activating and selecting data for visualization

  1. Open the Analysis Tab: Once your simulation results are ready, navigate to the Analysis Tab, located in the right-hand side panel of the application.
  2. Choose Data to Display: Within the 'Analysis Settings' section, you can select which property you want to visualize for different network elements:
  3. Map Update: As soon as you select a property, the map will automatically update. Your network elements (nodes or links, depending on your selection) will be color-coded based on the values of the chosen property. A default legend will also appear in the Analysis Tab, showing the initial color scheme and data ranges.

Customizing the map visualization

You can customize how your data looks on the map in many different ways to make it easier to see and understand what's important. To access these customization options, click on the legend that appears to the left of the map. This will open a pop-up that display controls for adjusting the classification mode, number of classes, color ramps, and specific break points for that visualization.

image.png

Data classification: setting modes and classes

epanet-js organizes the visualization of your results by splitting it into groups and giving each group a different color. You can choose how these groups are created:

Choosing color ramps

The colors you choose will make a big difference in how your map looks. The Color Ramp selector offers a wide variety of pre-defined color palettes:

image.png

image.png

<aside> <img src="/icons/sync_blue.svg" alt="/icons/sync_blue.svg" width="40px" />

Reverse Colors

You can flip the color scheme by clicking the "Reverse Colors" button. This is helpful when you want to switch how colors represent values (for example, changing from light-to-dark to dark-to-light).

</aside>

Fine-tuning breaks and colors

Below the Mode, Classes, and Color Ramp selectors, you'll find an interactive legend editor that allows for precise control over each class: