More detailed sankey docs

This commit is contained in:
Nikolay Rozhkov
2023-07-02 02:34:22 +03:00
parent 8ed2ee30ec
commit abb7bb23d6
2 changed files with 53 additions and 25 deletions

View File

@@ -128,7 +128,7 @@ describe('Sankey Diagram', () => {
expect(node.attr('x')).to.equal('400');
});
});
it('should center nodes', function () {
renderGraph(this.graph, {
sankey: { nodeAlignment: 'center', width: 410, useMaxWidth: false },