Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andymchugh/andrewbmchugh-flow-panel
/ functions
Functions
114 in github.com/andymchugh/andrewbmchugh-flow-panel
⨍
Functions
114
◇
Types & classes
7
↓ 32 callers
Function
getFlowAnimationState
(config: PanelConfigCellFlowAnimation, cellValue: number | string | null)
src/components/SvgUpdater.tsx:386
↓ 29 callers
Function
colorStringToRgb
(theme: GrafanaTheme2, colorStr: string)
src/components/Utils.tsx:210
↓ 22 callers
Function
flowDebug
()
src/components/Utils.tsx:23
↓ 22 callers
Function
pos
(driveCurr: boolean, xBase: number, yBase: number, xd: string | number, yd: string | number)
src/components/FillLevel.tsx:76
↓ 18 callers
Function
checkTimeIndex
(tsd: TimeSeriesData, ts: TimeSeries, timeSliderVal: number, expectedTimeIndex: number | null)
src/test/TimeSeries.test.tsx:8
↓ 17 callers
Function
svgPathBounds
(el: HTMLElement)
src/components/FillLevel.tsx:62
↓ 13 callers
Function
colorLookup
(color: string, highlight: HighlightState, highlightFactors: HighlightFactors)
src/components/Utils.tsx:244
↓ 12 callers
Function
isUrl
(str: string)
src/components/Utils.tsx:71
↓ 11 callers
Function
valueMapping
(valueMappings: FlowValueMapping[], value: number | string | null)
src/components/SvgUpdater.tsx:354
↓ 10 callers
Function
moreData
(i: number)
src/components/FillLevel.tsx:93
↓ 9 callers
Function
colorGradient
(color1: string, color2: string, scalar: number, highlight: HighlightState, highlightFactors: HighlightFactors
src/components/Utils.tsx:253
↓ 8 callers
Function
regExpMatch
(pattern: string, text: string | undefined)
src/components/Utils.tsx:154
↓ 6 callers
Function
initCache
(thresholds: ThresholdNumber[] | ThresholdPattern[] | undefined)
src/components/Utils.tsx:185
↓ 5 callers
Function
appendUrlParams
(url: string, params: string)
src/components/Utils.tsx:55
↓ 4 callers
Function
clipSize
(boundsMin: number, boundsMax: number, value: number)
src/components/FillLevel.tsx:284
↓ 4 callers
Function
getCellValue
(drive: DataRefDrive | undefined, tsData: TimeSeriesData, cellBespokeData: any)
src/components/SvgUpdater.tsx:329
↓ 4 callers
Function
getThresholdColor
(sdb: SvgDriveBase, cellValueSeed: string | number | null, configCellColor: PanelConfigCellColor | undefin
src/components/SvgUpdater.tsx:479
↓ 4 callers
Function
subSourceDataUrlTokens
(str: string)
src/components/Utils.tsx:62
↓ 4 callers
Function
testThresholds
(cellValues: Map<string, any>, variableThresholdScalars: any, variableValues: any)
src/test/Utils.test.tsx:211
↓ 4 callers
Function
variableThresholdScalarsInit
( variableValues: Map<string, string>, cells: Map<string, SvgCell>, variableThresholdScalars: Map<string
src/components/Utils.tsx:271
↓ 3 callers
Function
cellIdFactory
(base: string)
src/components/Utils.tsx:44
↓ 3 callers
Function
colorBlend
(cell: PanelConfigCell, colorStr: ColorDrives, colorCompound: PanelConfigCellColorCompound | undefined)
src/components/Config.tsx:334
↓ 3 callers
Function
getInstrumenter
(timer: boolean)
src/components/Utils.tsx:393
↓ 3 callers
Function
getThresholdColorCompound
(sdb: SvgDriveBase, cellValueSeed: string | number | null, configCellColorCompound: PanelConfigCellColorCo
src/components/SvgUpdater.tsx:488
↓ 3 callers
Function
sliderTime
(tsData: any, sliderScalar: number)
src/components/TimeSlider.tsx:38
↓ 3 callers
Function
thresholdSeed
(sdb: SvgDriveBase, paramData: PanelConfigCellColor | PanelConfigCellFillLevel | PanelConfigCellFlowAnimatio
src/components/SvgUpdater.tsx:466
↓ 3 callers
Function
variableThresholdScaleValue
(variableValues: Map<string, string>, cellData: SvgCell, value: number | string | null)
src/components/Utils.tsx:306
↓ 2 callers
Function
applyNamespace
(name: string)
src/components/TimeSeries.tsx:103
↓ 2 callers
Function
colorDeref
(cell: PanelConfigCell, color: PanelConfigCellColor | undefined)
src/components/Config.tsx:307
↓ 2 callers
Function
driveHighlighter
(selection: string | undefined)
src/components/FlowPanel.tsx:195
↓ 2 callers
Function
extractInterpolations
(interpolations: VariableInterpolation[])
src/components/Loader.tsx:7
↓ 2 callers
Function
handleOnChange
(props: TimeSliderProps, state: TimeSliderState, event: any)
src/components/TimeSlider.tsx:43
↓ 2 callers
Function
highlightState
(highlighterSelection: string | undefined, tags: Set<string> | undefined)
src/components/Highlighter.tsx:37
↓ 2 callers
Function
loadYaml
(source: (Object | string), fn: (yaml: Object) => void, fnVars: (svgStr: string) => void)
src/components/Loader.tsx:46
↓ 2 callers
Function
resolveColor
(color: string)
src/components/Config.tsx:300
↓ 2 callers
Function
rgbToString
(rgb: number[], highlight: HighlightState, highlightFactors: HighlightFactors)
src/components/Utils.tsx:172
↓ 2 callers
Function
setAttributes
(el: HTMLElement)
src/components/SvgUpdater.tsx:149
↓ 2 callers
Function
setFillAttribute
(el: HTMLElement, color: string | null | undefined, elAttribs: SvgElementAttribs | undefined)
src/components/SvgUpdater.tsx:433
↓ 2 callers
Function
substituteReservedTokens
(str: string, attribs: SvgElementAttribs)
src/components/Utils.tsx:103
↓ 2 callers
Function
substituteTokens
(str: string, substitutions: Map<string, string>)
src/components/Utils.tsx:95
↓ 2 callers
Function
tokenStr
(key: string)
src/components/Utils.tsx:91
↓ 2 callers
Function
valSubst
(val: string)
src/components/Utils.tsx:112
↓ 1 callers
Function
HighlighterFactory
(props: HighlighterProps)
src/components/Highlighter.tsx:42
↓ 1 callers
Function
TimeSliderFactory
(props: TimeSliderProps)
src/components/TimeSlider.tsx:117
↓ 1 callers
Function
addCell
(cells: any, cellId: string)
src/test/Utils.test.tsx:184
↓ 1 callers
Function
attribDriverManager
(cbh: CellBespokeHandler[], tsData: TimeSeriesData, highlighterSelection: string | undefined)
src/components/bespokeDriver.tsx:182
↓ 1 callers
Function
attributeName
(element: HTMLElement, name: string)
src/components/bespokeDriver.tsx:53
↓ 1 callers
Function
bespokeDriveHandlerFactory
(level: number, cellId: string, cellProps: PanelConfigCell, element: HTMLElement, bespokeStateHolder: BespokeS
src/components/bespokeDriver.tsx:70
↓ 1 callers
Function
bespokeStateFactory
(namespace: string)
src/components/bespokeDriver.tsx:60
↓ 1 callers
Function
clickHandlerFactory
(elementAttribs: Map<string, SvgElementAttribs>, linkVariables: Map<string, string>, driveHighlighter: (select
src/components/FlowPanel.tsx:80
↓ 1 callers
Function
clientExposedUtils
(highlighterSelection: string)
src/components/bespokeDriver.tsx:173
↓ 1 callers
Function
configInit
(siteConfig: SiteConfig, panelConfig: PanelConfig, isDark: boolean)
src/components/Config.tsx:443
↓ 1 callers
Function
constructGrafanaVariables
(grafanaVariables: Object, attribs: SvgElementAttribs, templateSrv: TemplateSrv)
src/components/Utils.tsx:111
↓ 1 callers
Function
constructUrl
(link: Link, attribs: SvgElementAttribs, linkVariables: Map<string, string>, templateSrv: TemplateSrv)
src/components/Utils.tsx:124
↓ 1 callers
Function
create
(datapoints: number, scalar: number, fn: (inp: number) => number, asString: boolean)
src/components/TimeSeries.tsx:26
↓ 1 callers
Function
createUrl
(url: string)
src/components/Utils.tsx:80
↓ 1 callers
Function
dimensionCoherence
(doc: Document)
src/components/SvgUpdater.tsx:100
↓ 1 callers
Function
displayColors
(context: any, onChange: any)
src/components/DebuggingEditor.tsx:73
↓ 1 callers
Function
displayColorsInner
(colors: any)
src/components/DebuggingEditor.tsx:79
↓ 1 callers
Function
displayData
(context: any, onChange: any)
src/components/DebuggingEditor.tsx:20
↓ 1 callers
Function
displayDataInner
(rawSeries: any, tsData: TimeSeriesData)
src/components/DebuggingEditor.tsx:26
↓ 1 callers
Function
displayDocs
()
src/components/DebuggingEditor.tsx:10
↓ 1 callers
Function
displayMappings
(context: any, onChange: any)
src/components/DebuggingEditor.tsx:31
↓ 1 callers
Function
displayMappingsInner
(panelConfig: PanelConfig, svgHolder: SvgHolder)
src/components/DebuggingEditor.tsx:37
↓ 1 callers
Function
displaySvg
(context: any, onChange: any)
src/components/DebuggingEditor.tsx:83
↓ 1 callers
Function
displaySvgInner
(svgStr: string)
src/components/DebuggingEditor.tsx:89
↓ 1 callers
Function
displayTimings
(context: any, onChange: any)
src/components/DebuggingEditor.tsx:67
↓ 1 callers
Function
displayUnits
()
src/components/DebuggingEditor.tsx:14
↓ 1 callers
Function
externalDriver
(props: TimeSliderProps, state: TimeSliderState, payload: any)
src/components/TimeSlider.tsx:83
↓ 1 callers
Function
externalDriverPosition
(props: TimeSliderProps, state: TimeSliderState, payload: any)
src/components/TimeSlider.tsx:64
↓ 1 callers
Function
externalDriverTime
(props: TimeSliderProps, state: TimeSliderState, payload: any)
src/components/TimeSlider.tsx:51
↓ 1 callers
Function
formatCellValue
(cellLabelData: PanelConfigCellLabel, value: number)
src/components/SvgUpdater.tsx:374
↓ 1 callers
Function
generateLabelPreamble
(label: string | null, separator: LabelSeparator | null)
src/components/SvgUpdater.tsx:76
↓ 1 callers
Function
getBespokeData
(cellId: string, cellProps: PanelConfigCell, namespacedData: Map<string, NamespacedData>)
src/components/bespokeDriver.tsx:161
↓ 1 callers
Function
getClipper
(config: PanelConfigCellFillLevel, cellIdMaker: CellIdMaker, el: HTMLElement)
src/components/FillLevel.tsx:266
↓ 1 callers
Function
getColor
(cellColorData: PanelConfigCellColor, value: number | string, highlight: HighlightState, highlightFactors: Hig
src/components/Utils.tsx:367
↓ 1 callers
Function
getColorFromNumber
(gradientMode: ColorGradientMode | undefined, thresholds: ThresholdNumber[], value: number, highlight: Highlig
src/components/Utils.tsx:337
↓ 1 callers
Function
getColorFromPattern
(thresholds: ThresholdPattern[], value: string, highlight: HighlightState, highlightFactors: HighlightFactors)
src/components/Utils.tsx:324
↓ 1 callers
Function
getHoverEvent
(props: TimeSliderProps, state: TimeSliderState, time: number, sliderScalar: number)
src/components/TimeSlider.tsx:95
↓ 1 callers
Function
highlighterState
(selection: string | undefined, config: PanelConfigHighlighter)
src/components/Highlighter.tsx:21
↓ 1 callers
Function
innerMostDiv
(el: HTMLElement)
src/components/SvgUpdater.tsx:120
↓ 1 callers
Function
isFillColorElement
(filters: PanelConfigElementFilter[] | undefined, elementName: string, elementPosition: number)
src/components/SvgUpdater.tsx:135
↓ 1 callers
Function
isFillLevelElement
(el: HTMLElement)
src/components/FillLevel.tsx:20
↓ 1 callers
Function
isShapeElement
(el: HTMLElement)
src/components/Utils.tsx:35
↓ 1 callers
Function
legendItems
(config: PanelConfigHighlighter, selection: string | undefined)
src/components/Highlighter.tsx:26
↓ 1 callers
Function
loadSvg
(source: string, fn: (svgStr: string) => void, fnVars: (svgStr: string) => void)
src/components/Loader.tsx:19
↓ 1 callers
Function
panelConfigDereference
(siteConfig: SiteConfig, panelConfig: PanelConfig, isDark: boolean)
src/components/Config.tsx:296
↓ 1 callers
Function
panelConfigFactory
(config: any)
src/components/Config.tsx:224
↓ 1 callers
Function
primeColorCache
(theme: GrafanaTheme2, svgAttribs: SvgAttribs, background: Background)
src/components/Utils.tsx:184
↓ 1 callers
Function
recurseElements
(level: number, el: HTMLElement, cellData: SvgCell, cellIdMaker: CellIdMaker, additions: HTMLElement[], bespok
src/components/SvgUpdater.tsx:148
↓ 1 callers
Function
sanitizeSvgStr
(svgStr: string)
src/components/FlowPanel.tsx:47
↓ 1 callers
Function
seriesInterpolate
(tsData: TimeSeriesData, timeSliderScalar: number)
src/components/TimeSeries.tsx:155
↓ 1 callers
Function
setFlowAnimationAttributes
(el: HTMLElement, state: FlowAnimationState)
src/components/SvgUpdater.tsx:450
↓ 1 callers
Function
setStrokeAttribute
(el: HTMLElement, color: string | null | undefined, elAttribs: SvgElementAttribs | undefined)
src/components/SvgUpdater.tsx:416
↓ 1 callers
Function
siteConfigFactory
(config: any)
src/components/Config.tsx:277
↓ 1 callers
Function
splitPath
(d: string)
src/components/FillLevel.tsx:27
↓ 1 callers
Function
svgInit
(doc: Document, grafanaTheme: GrafanaTheme2, panelConfig: PanelConfig, siteConfig: SiteConfig)
src/components/SvgUpdater.tsx:236
↓ 1 callers
Function
svgShapeBounds
(el: HTMLElement)
src/components/FillLevel.tsx:227
↓ 1 callers
Function
transformTabular
(frame: any, keyColumnName: string, applyNamespace: (name: string) => string, tsNamed: Record<string, any>)
src/components/TimeSeries.tsx:69
Function
DebuggingEditor
({context, onChange}: StandardEditorProps<number>)
src/components/DebuggingEditor.tsx:93
next →
1–100 of 114, ranked by callers