Skip to content

Standardize Graphroot* #1183

@Affie

Description

@Affie

Graphroot* Definition (current structure)

*Name TBD

The currently named Graphroot (was GraphRoot and FactorgraphtRoot) is the parent node that contains the factor graph's metadata/ header data and serves as the root for all variables and factors.

Key Characteristics:

  • Parent of Variables, Factors, and edges ─ alongside Agent and Blobstore.
  • Contains label, description, tags, bloblets, and blobentries
  • Serves as the metadata/header container for a factor graph.

Structure:

DFG
├── Graphroot
│   ├── Variables
│   ├── Factors
│   └── Edges
├── Agent
└── Blobstore

Not to be confused with the factor graph structure itself (variables + factors + edges), which are children of Graphroot and accessed by functions such as getVariables, getFactors, and listNeighbors

Naming Options for this metadata/header only structure:

  • Graphroot
  • Graphheader
  • Graphhead
  • Graphinfo
  • Graphnode
  • Graphmeta*
  • Graphmetadata*
  • metadata can be confused with Metadata found in Blobentry

Field changes

old field new field change reason
label::Symbol label::Symbol Unchanged
description::String description::String Unchanged
tags::Vector{Symbol} tags::Set{Symbol} tags is a Set
metadata::Dict{Symbol, MetadataTypes} bloblets::Bloblets #1105
blobEntries::OrderedDict{Symbol, Blobentry} blobentries::Blobentries Drop camelCase

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions