Methods
createDocQAOptionsDialog()
Create document-qa options dialog
.Create document-qa options dialog
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 |
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 |
hideLoading()
Hide loading indicator
.Hide loading indicator
(async) init()
Initialize the VSOM controller
.Initialize the VSOM controller
(async) loadClusters()
Load and display clusters
.Load and display clusters
(async) loadData()
Load data into VSOM
.Load data into VSOM
(async) loadDocQAData()
Load Document-QA data from SPARQL store
.Load Document-QA data from SPARQL store
(async) loadFeatureMaps()
Load and display feature maps
.Load and display feature maps
(async) loadSOMGrid()
Load and display the SOM grid
.Load and display the SOM grid
setupEventListeners()
Set up event listeners for the VSOM tab
.Set up event listeners for the VSOM tab
showError(message)
Show error message
.Show error message
Parameters:
Name | Type | Description |
---|---|---|
message |
string | Error message |
showLoading(message)
Show loading indicator
.Show loading indicator
Parameters:
Name | Type | Default | Description |
---|---|---|---|
message |
string | Loading... | Loading message |
(async) startTraining()
Start SOM training
.Start SOM training
(async) stopTraining()
Stop SOM training
.Stop SOM training
transformDocQAToVSOMGrid()
Transform document-qa entities to VSOM grid format
.Transform document-qa entities to VSOM grid format
updateDataInfo(data)
Update data info display
.Update data info display
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | VSOM data |
updateDocQADataInfo()
Update data info display for document-qa data
.Update data info display for document-qa data