Skip to content

CreateRelationTemplateInput

Input for the createRelationTemplate mutation

graphql
input CreateRelationTemplateInput {
  description: String!
  extends: [ID!]
  isAbstract: Boolean!
  markerType: MarkerType!
  name: String!
  relationConditions: [RelationConditionInput!]!
  stroke: StrokeStyleInput
  templateFieldSpecifications: [JSONFieldInput!]
}

Fields

CreateRelationTemplateInput.description ● String! non-null scalar

The description of the NamedNode

CreateRelationTemplateInput.extends ● [ID!] list scalar

IDs of Templates the created template extends. Must be templates of the same type.

CreateRelationTemplateInput.isAbstract ● Boolean! non-null scalar

If true, this template is abstract and cannot be used for new entities.

CreateRelationTemplateInput.markerType ● MarkerType! non-null enum

The type of the marker at the end of the relation.

CreateRelationTemplateInput.name ● String! non-null scalar

The name of the NamedNode, must not be blank

CreateRelationTemplateInput.relationConditions ● [RelationConditionInput!]! non-null input

Defines which Relations can use the created Template, at least one RelationCondition has to match (logical OR)

CreateRelationTemplateInput.stroke ● StrokeStyleInput input

Style of the stroke

CreateRelationTemplateInput.templateFieldSpecifications ● [JSONFieldInput!] list input

Additional initial templateFieldSpecifications, should be a JSON schema JSON. Must be disjoint with templateFieldSpecifications of templates this template extends.

Member Of

createRelationTemplate mutation

Released under the MIT License.