add metadata to test frames to be processed

This commit is contained in:
Kristina Durivage 2024-05-01 16:27:20 -05:00
parent b8be50e219
commit fc366a0ab4
2 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,7 @@ const nodes = new MutableDataFrame({
['secondaryStat', ['1047.29ms (99.82%)']],
['color', [0.9982395121342127]],
]),
meta: { preferredVisualisationType: 'nodeGraph' },
});
function toFields(fields: Array<[string, unknown[]]>) {

View File

@ -433,6 +433,7 @@ function nodesFrame() {
...value,
name: key,
})),
meta: { preferredVisualisationType: 'nodeGraph' },
});
}
@ -480,6 +481,7 @@ function edgesFrame() {
...value,
name: key,
})),
meta: { preferredVisualisationType: 'nodeGraph' },
});
}