# LibTmux::Snapshot::from_records

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Perl
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-perl/blob/352715a4fa66a96eed7763b90daaa536aa2f121d/packages/core/lib/LibTmux/Snapshot.pm#L25
- **Page:** https://libtmux.org/en/perl/latest/reference/libtmux-snapshot-from_records/

```
sub from_records($class, %args)
```

`from_records(server_id => ..., generation => ..., sessions => [...], windows => [...], window_links => [...], panes => [...], clients => [...])` constructs a detached graph. Scalar records and relation IDs are copied. Omitted fields/collections remain unloaded; null is explicit. Invalid identities or inconsistent complete topology throw typed acquisition errors.

## Methods

## Parameters

- `args`
