List

Data structure nodes - list manipulation, sequences, set operations, and data tree management for controlling how data flows through the graph.

Ask AI about this page
ChatGPT

49 nodes in this group

List

Access, filter, sort, split, and modify list contents.

List Length

List Length

Behavior

Measures the length of a list - returns the count of items in the input list.

Inputs

List

Outputs

Count

Pairs With

Integer count - feeds index math and counts

List Item

List Item

Behavior

Returns the value corresponding to the specified index of the input list (the ith element).

Inputs

List, Index

Outputs

Item

Pairs With

Integer index, any-type list

Item Index

Behavior

Retrieves the index of a specified item in a list.

Inputs

List, Item

Outputs

Index

Pairs With

Integer index, any-type list

Take Nth

Take Nth

Behavior

Takes every Nth element from the input list, starting from the Start index. N is the frequency of taken items (default 3); Start is the starting index (default 0).

Inputs

List, N, Start

Outputs

Filtered

Pairs With

Integer step/start, any-type list

Remove Nth

Remove Nth

Behavior

Removes every Nth element from the input list - the inverse of Take Nth.

Inputs

List, N

Outputs

Filtered

Pairs With

Integer step, any-type list

Remove By Index

Remove By Index

Behavior

Removes the indexed elements from a list.

Inputs

List, Indices

Outputs

Filtered

Pairs With

Integer indices, any-type list

Remove Subset

Remove Subset

Behavior

Removes a subset from the list.

Inputs

List, Start, Count

Outputs

Result

Pairs With

Integer start/count, any-type list

Extract Subset

Extract Subset

Behavior

Extracts a subset from a list.

Inputs

List, Start, Count

Outputs

Subset

Pairs With

Integer start/count, any-type list

Split List

Split List

Behavior

Splits a list into separate parts.

Inputs

List, Index

Outputs

Part A, Part B

Pairs With

Integer index, any-type list

Reverse List

Reverse List

Behavior

Reverses the order of a list.

Inputs

List

Outputs

Reversed

Pairs With

Any-type list

Insert List Items

Insert List Items

Behavior

Inserts items into a list at specified index positions.

Inputs

List, Items, Index

Outputs

Result

Pairs With

Integer indices, any-type list

Dispatch List

Behavior

Dispatches the items in a list into two target lists based on a boolean pattern. Items matching true go to List A; items matching false go to List B.

Inputs

List, Boolean (dispatch pattern)

Outputs

List A, List B

Pairs With

Boolean pattern, any-type list

Number List Sort

Number List Sort

Behavior

Sorts a list of numeric keys in ascending order.

Inputs

Numbers

Outputs

Sorted

Pairs With

Number list

Replace Items

Replace Items

Behavior

Replaces certain items in a list at specified indices with new values.

Inputs

List, Items, Indices

Outputs

Result

Pairs With

Integer indices, any-type list

Partition List

Partition List

Behavior

Partitions a list into sub-lists of a specified size.

Inputs

List, Size

Outputs

Partitions

Pairs With

Integer size, any-type list

Sort List

Behavior

Sorts a list of numeric keys, with an optional synchronous value list that follows the same order.

Inputs

List, Keys

Outputs

Sorted

Pairs With

Number keys, any-type list

AscDesc List

AscDesc List

Behavior

Creates a sequence of ascending and descending numbers from a start value, count, and step.

Inputs

Start, Count, Step

Outputs

Ascending, Descending

Pairs With

Number start/step, integer count

Remove Pattern

Remove Pattern

Behavior

Removes elements from a list using a repeating bit mask (boolean pattern).

Inputs

List, Pattern

Outputs

Filtered

Pairs With

Boolean pattern, any-type list

Duplicate List

Duplicate List

Behavior

Duplicates the input list a predefined number of times. A Boolean controls whether the duplicated lists retain their original ordering.

Inputs

List, Count, Boolean (retain order)

Outputs

Duplicated

Pairs With

Integer count, any-type list

Repeat List

Repeat List

Behavior

Repeats the input list as a pattern until it reaches the specified final Length.

Inputs

List, Length

Outputs

Repeated

Pairs With

Integer count, any-type list

Remap Numbers

Remap Numbers

Behavior

Remaps a number from a source range (Source Min/Max) into a target range (Target Min/Max).

Inputs

Number, Source Min, Source Max, Target Min, Target Max

Outputs

Number

Pairs With

Number list, number bounds

Bounds

Bounds

Behavior

Returns the number list's minimum and maximum values.

Inputs

List

Outputs

Min, Max

Pairs With

Number list

Grow Step Sequence

Grow Step Sequence

Behavior

Generates a numeric sequence beginning at Start, where each step grows by Step2 from an initial step of Step1 - producing an accelerating (quadratic) progression rather than a constant one.

Inputs

Start, Step1, Step2

Outputs

List

Pairs With

Number start/step, integer count

List Order Changing

List Order Changing

Behavior

Changes the order of the list.

Inputs

List, Order

Outputs

Reordered

Pairs With

Any-type list

Delete Consecutive

Delete Consecutive

Behavior

Deletes consecutive similar members in a list - collapses adjacent duplicates.

Inputs

List

Outputs

Cleaned

Pairs With

Any-type list

Shift List

Shift List

Behavior

Offsets all items in a list by a specified amount.

Inputs

List, Shift

Outputs

Shifted

Pairs With

Integer shift, any-type list

Condition

Condition

Behavior

Filters a collection of input streams. Connect a condition index to the first port and data streams to the remaining ports; the stream whose index matches the condition is returned.

Inputs

Conditions (index), Any (streams)

Outputs

Stream

Pairs With

Boolean, any two values

Stream Filter

Behavior

Filters a collection of input streams. Connect a gate value to the first port and data streams to the remaining ports; the stream corresponding to the gate index is returned.

Inputs

Gate (index), Any (streams)

Outputs

Stream

Pairs With

Boolean, any-type streams

Sequence

Generate number series with configurable start, end, count, and step values.

List Sequence

List Sequence

Behavior

Creates a sequence of numbers from Start, Count, and Step - begins at Start, generates Count items, incrementing each by Step.

Inputs

Start, Count, Step

Outputs

List

Pairs With

Number range, integer count

List Sequence SEC

List Sequence SEC

Behavior

Creates a sequence of numbers from Start, End, and Count. Unlike List Sequence where you specify the step, SEC computes the step automatically to fit Count items between Start and End.

Inputs

Start, End, Count

Outputs

List

Pairs With

Number range, integer count

Fibonacci

Behavior

Creates a Fibonacci sequence of the specified length.

Inputs

Count

Outputs

List

Pairs With

Integer count

Random Numbers List

Random Numbers List

Behavior

Creates a list of random numbers between Start and End. Count sets the number of items, Seed controls reproducibility, and a Boolean toggles integer vs floating-point output. Produces the random list plus a sorted (A-Z) version.

Inputs

Start, End, Count, Seed, Boolean

Outputs

List, A-Z List

Pairs With

Integer count, number range

Set

Combine and compare two lists using set theory operations.

List Intersection

Behavior

Creates the intersection of two lists - items that appear in both.

Inputs

List A, List B

Outputs

Common

Pairs With

Two any-type lists

List Union

Behavior

Creates the union of two lists.

Inputs

List A, List B

Outputs

Union

Pairs With

Two any-type lists

List Difference

Behavior

Creates the difference of two lists - items in List A that are not in List B.

Inputs

List A, List B

Outputs

Difference

Pairs With

Two any-type lists

List Merge

Behavior

Creates the union of two lists by merging them.

Inputs

List A, List B

Outputs

Merged

Pairs With

Two-plus any-type lists

Tree

Manage hierarchical data tree structures - construct, flatten, graft, flip, and retrieve data by path.

Construct Path

Behavior

Constructs a data tree branch path from integer indices.

Inputs

Indices

Outputs

Path

Pairs With

Integers

Deconstruct Path

Behavior

Deconstructs a data tree path into individual integers.

Inputs

Path

Outputs

Indices

Pairs With

Tree path

Flatten Tree

Behavior

Flattens a data tree by removing all branching information. An optional Path input specifies the path of the flattened output.

Inputs

Tree

Outputs

List

Pairs With

Tree of any type

Graft Tree

Behavior

Grafts a data tree by adding an extra branch for every item.

Inputs

Tree

Outputs

Grafted

Pairs With

Any-type list

Simplify Tree

Behavior

Simplifies a data tree by removing shared overlap amongst all branches.

Inputs

Tree

Outputs

Simplified

Pairs With

Tree of any type

Flip Tree

Behavior

Flips a data tree by swapping its rows and columns.

Inputs

Tree

Outputs

Flipped

Pairs With

Tree of any type

Trim Tree / Prune Tree / Clean Tree / Unflatten Tree

Behavior

Tree structure utilities. Trim Tree reduces tree complexity by merging a specified number of outermost branches. Prune Tree removes branches whose item count is below N0 or above N1. Clean Tree removes all null and invalid items from a data tree. Unflatten Tree unflattens a data tree by moving items back into branches - the inverse of Flatten Tree.

Inputs

Tree

Outputs

Result

Pairs With

Tree of any type

Weave

Behavior

Weaves a set of input data using a custom pattern.

Inputs

Lists

Outputs

Woven

Pairs With

Any-type lists, boolean pattern

Tree Statistics

Behavior

Returns statistics about a data tree's structure.

Inputs

Tree

Outputs

Branches, Counts

Pairs With

Tree of any type

Tree Branch / Tree Branch Maintain / Tree Item

Behavior

Retrieve data from a tree by path. Tree Branch retrieves a specific branch from a data tree. Tree Branch Maintain retrieves a specific branch while maintaining tree structure. Tree Item retrieves a specific item from a data tree.

Inputs

Tree, Path

Outputs

Data

Pairs With

Tree of any type, path

Shift Paths

Behavior

Shifts paths safely. Will flatten data trees with fewer elements than the shift amount.

Inputs

Tree, Shift

Outputs

Shifted

Pairs With

Tree, integer shift

Path Mapper

Behavior

Maps or flattens a data tree based on path patterns.

Inputs

Tree

Outputs

Remapped

Pairs With

Tree, path pattern

Entwine Tree

Behavior

Flattens or grafts a data tree based on a Boolean toggle - removing branching information accordingly.

Inputs

Flatten (Boolean), Input (Tree)

Outputs

Tree

Pairs With

Any-type lists or trees