Skip to content

RelationLayout

Layout for a Relation

graphql
type RelationLayout implements BaseNode, Node {
  hasPermission(
    permission: AllPermissionEntry
  ): Boolean!
  id: ID!
  points: [Point!]!
  project: Project
  relation: Relation
  view: View
}

Fields

RelationLayout.hasPermission ● Boolean! non-null scalar

Checks if the current user has a specific permission on this Node

RelationLayout.hasPermission.permission ● AllPermissionEntry enum

The permission to check for

RelationLayout.id ● ID! non-null scalar

The unique id of this node

RelationLayout.points ● [Point!]! non-null object

The intermediate points of the Relation in the layout.

RelationLayout.project ● Project object

The project this layout is for, mutually exclusive with view.

RelationLayout.relation ● Relation object

The Relation this layout is for.

RelationLayout.view ● View object

The view this layout is for, mutually exclusive with project.

Interfaces

BaseNode interface

Shared extensions to the node type.

Node interface

Base class of all nodes

Member Of

RelationLayoutConnection object ● RelationLayoutEdge object

Released under the MIT License.