Update dist: Remove Orphaned Nodes From Sankey #7124

This commit is contained in:
uccidibuti 2023-01-19 17:08:22 +01:00
parent d7b335cf4d
commit b102779659
3 changed files with 40 additions and 22 deletions

View file

@ -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
};
}();