package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Dec 12, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Graph struct {
Nodes []NodeJSON `json:"nodes"`
Links []LinkJSON `json:"links"`
}
type LinkJSON struct {
Source string `json:"source"`
Target string `json:"target"`
Value float64 `json:"strength"`
Color string `json:"color"`
}
type NodeJSON struct {
ID string `json:"id"`
Name string `json:"name"`
Group string `json:"group"`
Val float64 `json:"val"`
}
FIX: calculate document weight with non-partial bm25f, use that to define node size
Source Files
¶
Click to show internal directories.
Click to hide internal directories.