Entity

semagrams.Entity
trait Entity

A reference to an logically distinct part of the Semagram, for instance a vertex, an edge, a ui element, etc.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class SubEntity
class Part
trait SrcPort
class Box
class Diagram
trait TgtPort
class Box
class Diagram

Members list

Concise view

Value members

Concrete methods

def extend(sub: Entity): Entity

Construct a subentity of this entity

Construct a subentity of this entity

Attributes

Abstract fields

We use a type tag so that we can compare the types of entities at runtime without having to mess with scala introspection. Additionally, different entities might have the same type, but different EntityTypes, a notable example of this is Parts.

We use a type tag so that we can compare the types of entities at runtime without having to mess with scala introspection. Additionally, different entities might have the same type, but different EntityTypes, a notable example of this is Parts.

Attributes