US 12,124,514 B2
Transformation of hierarchical data structure into a grid pattern
Claudio Alberto Soto, Lawrenceville, NJ (US); and Aravind Kumar Ravindran, Johns Creek, GA (US)
Assigned to THE BANK OF NEW YORK MELLON, New York, NY (US)
Filed by THE BANK OF NEW YORK MELLON, New York, NY (US)
Filed on Oct. 17, 2022, as Appl. No. 17/967,386.
Prior Publication US 2024/0126814 A1, Apr. 18, 2024
Int. Cl. G06F 16/00 (2019.01); G06F 16/28 (2019.01); G06F 16/901 (2019.01); G06N 5/01 (2023.01)
CPC G06F 16/9027 (2019.01) [G06F 16/287 (2019.01); G06N 5/01 (2023.01)] 16 Claims
OG exemplary drawing
 
1. A system, comprising:
a processor programmed to:
access a hierarchical data structure comprising a root node, a parent node, and a plurality of leaf nodes, wherein the root node is logically connected to the parent node and the parent node is logically connected to the plurality of leaf nodes, each of the plurality of leaf nodes storing a state and having no child nodes;
obtain a leaf node size;
determine spacing for a grid pattern based on the hierarchical data structure such that the determined spacing results in uniform spacing between each of the leaf nodes in the grid pattern;
set presentation layer data based on the determined spacing to generate a set of data elements, the set of data elements representing the hierarchical data structure;
split the set of data elements of the presentation layer based on a size of a display container, the display container being used to display the grid pattern, wherein to split the set of data elements, the processor is further programmed to lay out the set of data elements based on a layout pattern that defines an order and direction in which representations of the nodes of the hierarchical data structure are to be laid out,
wherein the layout pattern comprises a left-to-right layout pattern in which the representations are laid out in order from left-to-right for odd number rows in the grid pattern and right-to-left in the grid pattern for even number rows in the grid pattern; and
consume the presentation layer into a display layer to render a grid transformation of the hierarchical data.