Skip to main content

Interface: VisualAuthoringCommands

Defined in: widgets/visualAuthoring/visualAuthoring.tsx:120

Events for VisualAuthoring event bus.

See

Properties

PropertyModifierTypeDescription

editEntity

public

object

Can be triggered to open dialog to edit an entity.

editEntity.target

readonly

EntityElement

Target entity element to edit.

editRelation

public

object

Can be triggered to open dialog to edit a relation.

editRelation.target

readonly

RelationLink

Target relation link to edit.

findOrCreateEntity

public

object

Can be triggered to open dialog to find existing or create a new entity at the relation endpoint, then replace the target with it.

findOrCreateEntity.link

readonly

RelationLink

Target relation link connected to an exising or a new entity.

findOrCreateEntity.target

readonly

EntityElement

An exising or a new entity element to replace.

renameLink

public

object

Can be triggered to open dialog to rename a link.

Deprecated

Use AnnotationCommands.renameLink from AnnotationTopic instead.

renameLink.target

readonly

Link

Target link to rename (change its label).

startDragEdit

public

object

Can be triggered to start drag operaton on a relation.

startDragEdit.operation

readonly

DragEditOperation

Drag relation operation to initiate.