abstract class Shape extends AnyRef

A Shape describes the inlets and outlets of a Graph. In keeping with the philosophy that a Graph is a freely reusable blueprint, everything that matters from the outside are the connections that can be made with it, otherwise it is just a black box.

Source
Shape.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Shape
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Shape()

Abstract Value Members

  1. abstract def deepCopy(): Shape

    Create a copy of this Shape object, returning the same type as the original; this constraint can unfortunately not be expressed in the type system.

  2. abstract def inlets: [Inlet[_]]

    Scala API: get a list of all input ports

  3. abstract def outlets: [Outlet[_]]

    Scala API: get a list of all output ports

Concrete Value Members

  1. def getInlets: [Inlet[_]]

    Java API: get a list of all input ports

  2. def getOutlets: [Outlet[_]]

    Java API: get a list of all output ports

  3. def hasSamePortsAndShapeAs(s: Shape): Boolean

    Compare this to another shape and determine whether the arrangement of ports is the same (including their ordering).

  4. def hasSamePortsAs(s: Shape): Boolean

    Compare this to another shape and determine whether the set of ports is the same (ignoring their ordering).

  5. def requireSamePortsAndShapeAs(s: Shape): Unit

    Asserting version of #hasSamePortsAndShapeAs.

  6. def requireSamePortsAs(s: Shape): Unit

    Asserting version of #hasSamePortsAs.