core/graph/di_edge-0.1.0¶
Graph edge.
Description
A directed graph edge.
Outline
Schema Definitions ¶
This type is an object with the following properties:
- direction
string No length restrictionOnly the following values are valid for this node:fwd
bwd
target_nodeasdf://weldx.bam.de/weldx/tags/core/graph/di_node-0.1.* Required attributesobject objectExamples ¶
An edge pointing to node A.:
!<asdf://weldx.bam.de/weldx/tags/core/graph/di_edge-0.1.0> direction: fwd target_node: !<asdf://weldx.bam.de/weldx/tags/core/graph/di_node-0.1.0> name: A
An edge pointing from node B.:
!<asdf://weldx.bam.de/weldx/tags/core/graph/di_edge-0.1.0> direction: bwd target_node: !<asdf://weldx.bam.de/weldx/tags/core/graph/di_node-0.1.0> name: B
Original Schema ¶
%YAML 1.1 --- $schema: "http://stsci.edu/schemas/yaml-schema/draft-01" id: "asdf://weldx.bam.de/weldx/schemas/core/graph/di_edge-0.1.0" title: | Graph edge. description: | A directed graph edge. examples: - - An edge pointing to node A. - | !<asdf://weldx.bam.de/weldx/tags/core/graph/di_edge-0.1.0> direction: fwd target_node: !<asdf://weldx.bam.de/weldx/tags/core/graph/di_node-0.1.0> name: A - - An edge pointing from node B. - | !<asdf://weldx.bam.de/weldx/tags/core/graph/di_edge-0.1.0> direction: bwd target_node: !<asdf://weldx.bam.de/weldx/tags/core/graph/di_node-0.1.0> name: B type: object properties: direction: type: string enum: [fwd, bwd] target_node: tag: "asdf://weldx.bam.de/weldx/tags/core/graph/di_node-0.1.*" attributes: type: object required: [target_node] propertyOrder: [direction, attributes, target_node] ...
Schema documentation automatically generated by sphinx-asdf 0.1.0rc9.dev47+g9345a46.