Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NodeComponent

Hierarchy

  • NodeComponent

Index

Constructors

constructor

  • new NodeComponent(context: DiazoContext, nodeContext: DiazoNodeContext, elementRef: ElementRef<HTMLElement>): NodeComponent

Properties

graphMenuTrigger

graphMenuTrigger: MatMenuTrigger

Accessors

id

  • get id(): string
  • set id(value: string): void

isCompact

  • get isCompact(): boolean

isInline

  • get isInline(): boolean

isReroute

  • get isReroute(): boolean

isSelected

  • get isSelected(): boolean

isSlim

  • get isSlim(): boolean

isWide

  • get isWide(): boolean

ownState

  • get ownState(): DiazoNode
  • set ownState(value: DiazoNode): void

readonly

  • get readonly(): boolean

state

  • get state(): DiazoNode

Methods

isElementInSlot

  • isElementInSlot(element: HTMLElement): boolean

ngAfterViewInit

  • ngAfterViewInit(): void

ngOnDestroy

  • ngOnDestroy(): void

ngOnInit

  • ngOnInit(): void

onClick

  • onClick(event: MouseEvent): void

onContextMenu

  • onContextMenu(): boolean

onMouseMove

  • onMouseMove(event: MouseEvent): void

setPosition

  • setPosition(x: number, y: number): void

startMoving

  • startMoving(startEvent: MouseEvent): Promise<void>

updatePosition

  • updatePosition(): void

Object literals

mousePosition

mousePosition: object

left

left: number = 0

top

top: number = 0

Generated using TypeDoc