Skip to content

Add more in-depth data structure viewing #3

Open
@dysbulic

Description

@dysbulic

Work has begun as the Mock object.

The goal is to create an alternate versions for the functions and objects in the Ceramic and IDX APIs. Using this mock object, generate a D3 tree [1], [2], [3], [4] showing the expansion of nodes through the dereferencing of children and incorporation of overrides according to the algorithm.

Not pictured in the existing diagrams is the fact there are a number of rendering queues. This should be represented by a set of (10) nodes just under the root. Rather than being a string DID, an override can be an object: { did, zIndex }. In this case, it is put in the appropriate subtree.

Z-index in CSS allows any integer as the value. I would like to limit the number 0 to 9. Layer 0 is overriden by everything else, layer 9 overwrites everything else. The context node for a location is computed by doing a preorder traversal, so subtree 0 is visited first and 9 last.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions