NodeGraph: Allow to set node radius in dataframe (#74963)

Allow to set node radius in dataframe
This commit is contained in:
Juan Luis Peña Wagner
2023-09-25 16:55:52 +02:00
committed by GitHub
parent 40a1f8434d
commit ffb15ef363
11 changed files with 105 additions and 33 deletions
@@ -129,3 +129,4 @@ Optional fields:
| detail\_\_\* | string/number | Any field prefixed with `detail__` will be shown in the header of context menu when clicked on the node. Use `config.displayName` for more human readable label. |
| color | string/number | Can be used to specify a single color instead of using the `arc__` fields to specify color sections. It can be either a string which should then be an acceptable HTML color string or it can be a number in which case the behaviour depends on `field.config.color.mode` setting. This can be for example used to create gradient colors controlled by the field value. |
| icon | string | Name of the icon to show inside the node instead of the default stats. Only Grafana built in icons are allowed (see the available icons [here](https://developers.grafana.com/ui/latest/index.html?path=/story/docs-overview-icon--icons-overview)). |
| nodeRadius | number | Radius value in pixels. Used to manage node size. |