Skip to content

Export cx#1

Open
d2fong wants to merge 73 commits intodevelopmentfrom
export-cx
Open

Export cx#1
d2fong wants to merge 73 commits intodevelopmentfrom
export-cx

Conversation

@d2fong
Copy link
Copy Markdown
Owner

@d2fong d2fong commented Mar 11, 2023

No description provided.

keiono and others added 30 commits February 3, 2023 20:11
- rename 'rangePositionToPixelPosition' and 'pixelPositionToRangePosition' functions to 'pixelToValue' and 'valueToPixel' to more accurately describe the functions
- also rework number renderer to round values to avoid displaying large decimals
- add margin right and update bounds to the drag area
-  user can drag slightly over top margin which will allow them to increase the y value of the handle and increase the range of the chart
- reduce fonts/spacing of number mapper handle info boxes
- dragged handle will have highest z index
- vpType color means create a color mapping
- vpType number means create a number mapping with defaults 1 to 100
- vpType that is for opacity means create a number mapping from 0 to 1
…maller values

- last dragged handle will be rendered with a higher z index
- render range as well as domain (TODO make range editable)
- update handles that may be outside of the domain when the domain is directly changed
- remove 'pixelPosition' from handle interface
- use visx scale api instesad of d3 for now
- improve variable names re. magic numbers
- handle positions are derived from values instead of using 'pixelPosition' state on the handle
- create color gradient component
- reuse common handle function code in the color mapper ui
- general function and visuals are consistent between color mapper and number mapper now
keiono and others added 29 commits February 21, 2023 20:50
Update timing problems have been resolved
use type enums instead of hard coded strings
- remove code that is never called
- export all visual style models to the top level of the visual style module
- make the visual style fn impl export consistent with other model exports
- rename visualStyle-util.ts to compute-view-util.ts as all functions in the file relate to computing views
- remove more unused code
…value

Remove the concept of 'defaultValue' for columns
- compute metadata aspect from aspects array
- better names for the various visual property conversion functions
- export network attributes by parsing the ndex network summary model
- move mapping function converters to the cxVisualPropertyConverter module
<!-- this div is needed by the glide-data-grid to render the table browser-->
<div id="portal" style="position: fixed; left: 0; top: 0; z-index: 9999" />
</body>
</html>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@d2fong, the changes in the pull request look good. However, I noticed a typo in the comment. "browser" is misspelled as "browsser". Please correct it to ensure clarity for future developers.

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