Class: Ea::Model::GhostLabel

Inherits:
Base
  • Object
show all
Defined in:
lib/ea/model/ghost_label.rb

Overview

A "ghost" classifier name rendered near a connector endpoint that references a classifier NOT placed on the current diagram. EA shows the name as italic text at the connector's off-canvas end so the reader knows what the connector attaches to.

Carries:

- name: the classifier's display name (simple or qualified)
- end_kind: :source or :target (which end is ghost)
- anchor: [x, y] canvas-space coordinates of the label

Multiple connectors can reference the same ghost classifier; each produces its own GhostLabel at its own anchor.