Skip to content

Show length of layer in HLG JupyterLab repr #8497

Closed

Description

@gjoseph92

When looking at the new interactive HLG repr in a Jupyter notebook, one key piece of information I often want to know is how many tasks are in a given layer (and in the total graph). This is not currently displayed in the repr, but easily could be.

image

Adding an tasks (unoptimized) count to both each layer, and the overall graph, would be nice.

Activity

  1. added
    good second issue
    highlevelgraph
    on Dec 16, 2021
  2. jsignell commented on Dec 20, 2021

    @jsignell
    Member

    Just as a note, this information is available on the repr for the array itself arr.data

  3. gjoseph92 commented on Dec 20, 2021

    @gjoseph92
    CollaboratorAuthor

    The total number of tasks across all layers is available, but knowing the number of tasks per layer isn't AFAICT

  4. jsignell commented on Dec 22, 2021

    @jsignell
    Member

    Oh yeah, just meant that the logic is probably similar if people want a first place to look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good second issuehighlevelgraph

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions