grafana/packages/grafana-schema
Rob 677b765dab
NodeGraph: Edge color and stroke-dasharray support (#83855)
* Adds color and stroke-dasharray support for node graph edges

Adds support for providing color, highlighted color, and visual display of node graph edges as dashed lines via stroke-dasharray.

* Updates node graph documentation

* Updates documentation

Adds default for `highlightedColor`

* Update docs/sources/panels-visualizations/visualizations/node-graph/index.md

Co-authored-by: Fabrizio <135109076+fabrizio-grafana@users.noreply.github.com>

* Update packages/grafana-data/src/utils/nodeGraph.ts

Co-authored-by: Fabrizio <135109076+fabrizio-grafana@users.noreply.github.com>

* Update docs/sources/panels-visualizations/visualizations/node-graph/index.md

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>

* Removes highlightedColor; deprecates highlighted

Per [request](https://github.com/grafana/grafana/pull/83855#issuecomment-1999810826), deprecates `highlighted` in code and documentation, and removes `highlightedColor` as an additional property. `highlighted` will continue to be supported in its original state (makes the edge red), but is superseded if `color` is provided.

* Update types.ts

Missed a file in my last commit. Removes `highlightedColor` and deprecates `highlighted`.

* Add test scenario in test data source

---------

Co-authored-by: Fabrizio <135109076+fabrizio-grafana@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
2024-03-18 16:26:22 +01:00
..
src NodeGraph: Edge color and stroke-dasharray support (#83855) 2024-03-18 16:26:22 +01:00
.eslintrc Revert "Update dependency rollup to v3 (#58252)" (#63790) 2023-02-27 07:01:24 -05:00
CHANGELOG.md Schema: create a new schema package for basic models (#38409) 2021-08-23 13:03:41 -07:00
LICENSE_APACHE2 Schema: create a new schema package for basic models (#38409) 2021-08-23 13:03:41 -07:00
package.json Chore: Remove unused rollup plugin dependencies (#84492) 2024-03-15 12:02:27 +01:00
README.md Schema: create a new schema package for basic models (#38409) 2021-08-23 13:03:41 -07:00
rollup.config.ts grafana/schema: Make composable types part of the package (#69678) 2023-06-08 09:44:26 -07:00
tsconfig.build.json Kindsys: Rename mudball to common schemas, allow multiple input cue files (#61703) 2023-01-18 17:40:22 +00:00
tsconfig.json grafana/schema: Make composable types part of the package (#69678) 2023-06-08 09:44:26 -07:00

Grafana Schema Library

@grafana/schema is currently in ALPHA.

This package holds the definitions for objects that should be stored in JSON configuration files