in src/app/components/queue-v2/queues-v2.component.ts [147:163]
function changeOrientation() {
orientation = orientation === 'horizontal' ? 'vertical' : 'horizontal';
const root = d3hierarchy.hierarchy(rawData);
update(root);
// Update the position of existing plus circles, plus text, and queue names
svgGroup.selectAll('g.card')
.each(function(d: any) {
const group = select(this);
group.select('circle')
.attr("cx", orientation === 'horizontal' ? 300 : 150)
.attr("cy", orientation === 'horizontal' ? 60 : 120);
group.select('.plus-text')
.attr("x", orientation === 'horizontal' ? 300 : 150)
.attr("y", orientation === 'horizontal' ? 67 : 127);
});
}