LogoLogo
Version 3
Version 3
  • Version 3
  • Welcome to Flying Logic 3
  • Flying Logic Resources
  • Recommended Reading
  • Flying Logic 3 User Guide
    • Getting Started
    • What's New
    • Reader Mode
    • The Document Window
    • Constructing Graphs
    • Graph Logic
    • Domains
    • Chart View
    • Scripting
    • Menus
    • Keyboard Shortcuts
    • Preferences
    • Project Management
  • Flying Logic 3 Scripting Guide
    • Getting Started
    • Online Resources
    • Predefined Variables
    • Classes
      • Application
      • CalendarEvent
      • Color
      • Date
      • Document
      • Domain
      • Edge
      • EntityClass
      • Entity
      • FontSpec
      • GraphElemFilter
      • GraphElem
      • GraphOperator
      • Group
      • Junctor
      • LayoutLine
      • Resource
      • Symbol
      • TextEditor
      • VertexElem
      • VertexOperator
      • Workweek
    • Constants
    • Graphic Symbol Names
    • Importer and Exporter Examples
    • Flying Logic Document Format
  • Thinking with Flying Logic
    • Part I: Introduction
    • About This Book
    • Keys to Great Thinking
    • Part II: The Theory of Constraints Thinking Processes
    • Overview of the Theory of Constraints
    • The Categories of Legitimate Reservation
    • Current Reality Tree
    • Evaporating Cloud: Conflict Resolution
    • Future Reality Tree
    • Prerequisite Tree
    • Transition Tree
    • Strategy & Tactics Tree
    • Part III: Other Techniques
    • Evidence-Based Analysis
    • Concept Maps
Powered by GitBook
On this page

Was this helpful?

  1. Flying Logic 3 Scripting Guide
  2. Classes

GraphElem

PreviousGraphElemFilterNextGraphOperator

Last updated 1 year ago

Was this helpful?

The GraphElem is the base class for all representations of graph elements: , , and . This class has variables and methods common to all elements.

Fields

Field

Type

Description

eid

integer

Read only. Unique integer assigned to each GraphElem.

isEntity

boolean

isJunctor

boolean

isGroup

boolean

isEdge

boolean

canHaveParent

boolean

hasParent

boolean

Read only. Returns True if has parent.

frame

tuple

Read only. The element’s bounds as a tuple (left, top, width, height), or (0, 0, 0, 0) if the element is hidden in a collapsed group.

annotation

string or None

The annotation (note) of the element, an HTML document as a string, or None if the element has no note. If set to plain text, the font of the annotation defaults to Monospaced/12.

isHiddenInCollapse

boolean

Returns True if the element is in a collapsed group, otherwise False.

hasAnnotation

boolean

Returns True if the element has an annotation, otherwise False.

annotationNumber

integer

Read only. The annotation (note) number of the element, an integer, or zero if the element has no note.

displayAnnotationNumber

integer

Read only. The annotation (note) number of the element if note numbers are displayed as an integer, or zero if the element has no note or note numbers are not displayed.

partFrames

dictionary

plainAnnotation

string or None

Read only. the annotation (note) of the element as plain text, or None if the element has no note.

annotationEditor

Returns a TextEditor instance which allows for modification of the annotation, or None if the element has no note (variable is read only, the TextEditor itself can be modified).

user

dictionary

A dictionary containing user defined attributes (variable is read only, the dictionary itself can be modified) Example: previousFacility = elem.user['facility']; elem.user['facility'] = 'Los Angeles'; del elem.user['careless']

Read only. Returns False (see .)

Read only. Returns False (see .)

Read only. Returns False (see .)

Read only. Returns False (see .)

Read only. Returns False (see .)

Read only. A dictionary of tuples (x, y, width, height). The keys are s for visual elements that vary by GraphElem type and state.

entities
junctors
groups
edges
Entity
Junctor
Group
Edge
VertexElem
TextEditor
Shape Part Type