DevExtreme React - Overview
In the Sankey widget, nodes represent objects in a system. Nodes have weights and are connected using links that illustrate the weight flow between nodes. The links' width is proportional to the flow magnitude.
Nodes get data from the source and target data fields; links get data from the weight data field.
To configure the elements' appearance, use the node and link objects. In the following code, nodes are made half-opaque, and the links' border is made visible:
jQuery
$(function() { $("#sankeyContainer").dxSankey({ // ... node: { opacity: 0.5 }, link: { border: { visible: true } } }); });
Angular
<dx-sankey ... > <dxo-node [opacity]="0.5"></dxo-node> <dxo-link> <dxo-border [visible]="true"></dxo-border> </dxo-link> </dx-sankey>
import { DxSankeyModule } from "devextreme-angular"; // ... export class AppComponent { // ... } @NgModule({ imports: [ // ... DxSankeyModule ], // ... })
See Also
If you have technical questions, please create a support ticket in the DevExpress Support Center.