Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶ added in v0.4.6
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶ added in v0.4.6
func NewBuilder(schema *base.SchemaDefinition) Builder
NewBuilder creates a new Builder object.
func (Builder) EntityToGraph ¶ added in v0.4.6
func (b Builder) EntityToGraph(entity *base.EntityDefinition) (g Graph, err error)
EntityToGraph takes an entity definition and converts it into a graph representation, returning the created graph and an error if any occurs.
func (Builder) RuleToGraph ¶ added in v0.5.1
func (b Builder) RuleToGraph(rule *base.RuleDefinition) (g Graph, err error)
RuleToGraph converts a RuleDefinition into a graph. It takes a RuleDefinition as input and constructs a graph representing the rule. The graph consists of a single node representing the rule itself.
func (Builder) SchemaToGraph ¶ added in v0.4.6
SchemaToGraph converts a schema definition into a graph representation.
Click to show internal directories.
Click to hide internal directories.