OpenWaterFoundation / owf-app-viz-demo-ng

Open Water Foundation application to test different visualizations in Angular
0 stars 0 forks source link

Integrate/share code with InfoMapper for graph configurations #6

Open smalers opened 4 years ago

smalers commented 4 years ago

I'd like to see the demo application code be as close as possible to the InfoMapper code, for creating graphs. The goal is not currently to produce a library that can be distributed with npm but being able to copy and paste some code would be a start. In particular, figuring how how to make the code the same or as similar as possible for the following would be good. Josh can point out what has been done in InfoMapper and then Sofia can copy into the demo. I would then like Sofia's work on mapping TSTool graph configurations into different charting applications to be transferred back to InfoMapper.

  1. Initially, use csv time series files for input. Later can evaluate whether to share time series file reading code.
  2. Share code that reads a TSTool json graph configuration file with ${Property} notation. Need a general way to set a list of application properties that can be passed to the a method that expands the configuration file properties into final version.
  3. Share code that actually displays the graph, using various packages. This code can then be added to InfoMapper to support multiple packages and improve functionality over time.

Additional issues need to be created to break this large task into smaller issues.