DPBox

semagrams.sprites.DPBox$
See theDPBox companion class
object DPBox

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
DPBox.type

Members list

Concise view

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def layoutPorts(bb: BoundingBox, n_in: Int, n_out: Int): (Seq[Complex], Seq[Complex])

A pure algorithm for port layout

A pure algorithm for port layout

Attributes

def layoutPorts(inPort: Ob, outPort: Ob)(bb: BoundingBox, data: ACSet): ACSet

Update data with centers for inPorts and outPorts

Update data with centers for inPorts and outPorts

Attributes

def layoutPortsBg(inPort: Ob, outPort: Ob)(sz: Complex, data: ACSet): ACSet

Update data with centers for inPorts and outPorts on the viewport boundary

Update data with centers for inPorts and outPorts on the viewport boundary

Attributes

def portNumber(pos: Complex, size: Complex, nports: Int): Int

Compute the index of a new port based on a position and the number of existing ports

Compute the index of a new port based on a position and the number of existing ports

Attributes