Skip to main content

RelationLayout

Layout for a Relation

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! non-null 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