# SankeySeries

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-livecharts/sankey_chart_engine/struct-sankeyseries/

**struct** · [`ferroui-livecharts`](/docs/0.5.0/api/ferroui-livecharts/) · v0.5.0

```rust
struct SankeySeries
```

A Sankey series: the name, visibility, paints and data labels of its [`Series`](/docs/0.5.0/api/ferroui-livecharts/series/struct-series/), its nodes
(the source's `Values`) and links, and the layout settings of `ISankeySeries` with the
source's defaults.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/sankey_chart_engine.rs#L96)

## Members

- [`series`](#struct_field-series)
- [`nodes`](#struct_field-nodes)
- [`links`](#struct_field-links)
- [`node_width`](#struct_field-node_width)
- [`node_padding`](#struct_field-node_padding)
- [`node_corner_radius`](#struct_field-node_corner_radius)
- [`layout_iterations`](#struct_field-layout_iterations)
- [`node_label_position`](#struct_field-node_label_position)
- [`layout`](#struct_field-layout)
- [`arc_span_degrees`](#struct_field-arc_span_degrees)
- [`link_fill`](#struct_field-link_fill)
- [`new`](#function-new)

<a id="struct_field-series"></a>

### series

```rust
series: crate::series::Series
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/sankey_chart_engine.rs#L97)

<a id="struct_field-nodes"></a>

### nodes

```rust
nodes: Vec<SankeyNode>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/sankey_chart_engine.rs#L98)

<a id="struct_field-links"></a>

### links

```rust
links: Vec<SankeyLink>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/sankey_chart_engine.rs#L99)

<a id="struct_field-node_width"></a>

### node_width

```rust
node_width: f64
```

The width of a node rectangle, or the radial thickness of an arc node (12).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/sankey_chart_engine.rs#L101)

<a id="struct_field-node_padding"></a>

### node_padding

```rust
node_padding: f64
```

The gap between the nodes of a column (8).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/sankey_chart_engine.rs#L103)

<a id="struct_field-node_corner_radius"></a>

### node_corner_radius

```rust
node_corner_radius: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/sankey_chart_engine.rs#L104)

<a id="struct_field-layout_iterations"></a>

### layout_iterations

```rust
layout_iterations: u32
```

The relaxation sweeps of the vertical layout (32).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/sankey_chart_engine.rs#L106)

<a id="struct_field-node_label_position"></a>

### node_label_position

```rust
node_label_position: SankeyLabelPosition
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/sankey_chart_engine.rs#L107)

<a id="struct_field-layout"></a>

### layout

```rust
layout: SankeyLayoutKind
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/sankey_chart_engine.rs#L108)

<a id="struct_field-arc_span_degrees"></a>

### arc_span_degrees

```rust
arc_span_degrees: f64
```

The angle each arc covers in the bipartite arc layout (150).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/sankey_chart_engine.rs#L110)

<a id="struct_field-link_fill"></a>

### link_fill

```rust
link_fill: Option<ferroui_base::media::Color>
```

The fill of the ribbons. `None` takes the theme's, the series colour at alpha 90; a
transparent colour is the source's `LinkFill = null`, which fills the ribbons like the
nodes.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/sankey_chart_engine.rs#L114)

<a id="function-new"></a>

### new

```rust
fn new(nodes: Vec<SankeyNode>, links: Vec<SankeyLink>) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/sankey_chart_engine.rs#L134)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Default`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
