mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Update dist: Remove Orphaned Nodes From Sankey #7124
This commit is contained in:
parent
d7b335cf4d
commit
b102779659
3 changed files with 40 additions and 22 deletions
|
|
@ -5,6 +5,12 @@ import NtopUtils from "../ntop-utils.js";
|
|||
|
||||
let d3 = d3v7;
|
||||
|
||||
|
||||
function get_d3_color(index) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
const defaultSankeySettings = {
|
||||
align: "justify", // convenience shorthand for nodeAlign
|
||||
nodeId: d => d.id, // given d in nodes, returns a unique identifier (string)
|
||||
|
|
@ -46,9 +52,15 @@ const getDefaultSankeySettings = function() {
|
|||
return defaultSankeySettings;
|
||||
}
|
||||
|
||||
const get_data = async function() {
|
||||
return { };
|
||||
}
|
||||
|
||||
|
||||
const sankeyUtils = function() {
|
||||
return {
|
||||
formatFlowTitle,
|
||||
formatFlowTitle,
|
||||
get_data,
|
||||
getDefaultSankeySettings
|
||||
};
|
||||
}();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue