Skip to content
Back to top
View this page

# CommitNodeGrid

class dsviper.CommitNodeGrid

  Bases: `object`

  A class used to represent the location of a commit node in the grid.

  Note: Not directly instantiable.

  child_count() → int

    Return the number of children.

  children() → list[CommitNodeGrid]

    Return the list of childs.

  column() → int

    Return the column.

  commit_id() → ValueCommitId

    Return the commitId.

  has_children() → bool

    Return true if the node have children.

  header() → CommitHeader

    Return the header.

  parent() → CommitNodeGrid | None

    Return the parent or None.

  row() → int

    Return the row.