grafana/pkg/tsdb/grafana-testdata-datasource
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
..
data XYChart: Add demo gdev dashboard (#71168) 2023-11-29 19:54:16 +02:00
kinds/dataquery NodeGraph: Edge color and stroke-dasharray support (#83855) 2024-03-18 16:26:22 +01:00
sims Chore: Rename testdata plugin with a fully qualified name (#75104) 2023-09-22 15:00:40 +03:00
standalone Chore: Allow to compile testdata backend as a plugin (#75360) 2023-09-26 15:30:25 +02:00
testdata Chore: Rename testdata plugin with a fully qualified name (#75104) 2023-09-22 15:00:40 +03:00
.gitignore Chore: Allow to compile testdata backend as a plugin (#75360) 2023-09-26 15:30:25 +02:00
csv_data_test.go Chore: Rename testdata plugin with a fully qualified name (#75104) 2023-09-22 15:00:40 +03:00
csv_data.go Chore: Rename testdata plugin with a fully qualified name (#75104) 2023-09-22 15:00:40 +03:00
resource_handler.go Testdata: Use contextual logging (#76833) 2023-10-20 10:01:04 +02:00
scenarios_test.go Chore: Rename testdata plugin with a fully qualified name (#75104) 2023-09-22 15:00:40 +03:00
scenarios.go Testdata: Use contextual logging (#76833) 2023-10-20 10:01:04 +02:00
stream_handler.go Testdata: Use contextual logging (#76833) 2023-10-20 10:01:04 +02:00
testdata.go K8s/Testdata: Expose testdata in standalone apiserver (#80248) 2024-01-10 17:45:23 +02:00
usa_stats_test.go Chore: Rename testdata plugin with a fully qualified name (#75104) 2023-09-22 15:00:40 +03:00
usa_stats.go Chore: Rename testdata plugin with a fully qualified name (#75104) 2023-09-22 15:00:40 +03:00
utils.go Chore: Rename testdata plugin with a fully qualified name (#75104) 2023-09-22 15:00:40 +03:00