Skip to the content.

Minimap View

(Screenshot of component - Optional)


This component contains the colored map which visualizes the log contents according to the value in every cell.

Relations to other components

Props

Name Type Description
logFile LogFile it contains the content of the input log/logs
logViewState LogViewState A state to keep several values for representing the log view
onLogViewStateChanged function A function that update the log view state to other components
forwardRef React.RefObject<HTMLDivElement> A ref object for update the scrolling between log view and minimap
rowProperties RowProperty[] A interface to keep all the row related properties

State

Name Type Initial Value Description
state LogViewState undefined A state to keep several values for representing the log view
scale number 1 the scale of the Mini map. If it is 1, then minimap 1: 1 matches the log view. If it is 0, minimap matches all the log view.
controlDown boolean false A state represents whether the ctrl button is pressed

Functions

Component lifecycle functions