Class: VSOMController

VSOMController()

Controller for the VSOM tab

Constructor

new VSOMController()

Source:

Methods

createDocQAOptionsDialog()

Create document-qa options dialog

.

Create document-qa options dialog

Source:

generateMockSOMData(count) → {Object}

Generate mock SOM data for testing visualization

.

Generate mock SOM data for testing visualization

Parameters:
Name Type Description
count number

Number of nodes to generate

Source:
Returns:

Mock SOM data with nodes

Type
Object

handleTabChange(event)

Handle tab changes

.

Handle tab changes

Parameters:
Name Type Description
event Event

The click event

Source:

hideLoading()

Hide loading indicator

.

Hide loading indicator

Source:

(async) init()

Initialize the VSOM controller

.

Initialize the VSOM controller

Source:

(async) loadClusters()

Load and display clusters

.

Load and display clusters

Source:

(async) loadData()

Load data into VSOM

.

Load data into VSOM

Source:

(async) loadDocQAData()

Load Document-QA data from SPARQL store

.

Load Document-QA data from SPARQL store

Source:

(async) loadFeatureMaps()

Load and display feature maps

.

Load and display feature maps

Source:

(async) loadSOMGrid()

Load and display the SOM grid

.

Load and display the SOM grid

Source:

setupEventListeners()

Set up event listeners for the VSOM tab

.

Set up event listeners for the VSOM tab

Source:

showError(message)

Show error message

.

Show error message

Parameters:
Name Type Description
message string

Error message

Source:

showLoading(message)

Show loading indicator

.

Show loading indicator

Parameters:
Name Type Default Description
message string Loading...

Loading message

Source:

(async) startTraining()

Start SOM training

.

Start SOM training

Source:

(async) stopTraining()

Stop SOM training

.

Stop SOM training

Source:

transformDocQAToVSOMGrid()

Transform document-qa entities to VSOM grid format

.

Transform document-qa entities to VSOM grid format

Source:

updateDataInfo(data)

Update data info display

.

Update data info display

Parameters:
Name Type Description
data Object

VSOM data

Source:

updateDocQADataInfo()

Update data info display for document-qa data

.

Update data info display for document-qa data

Source: