case class AnonymousDiagram(nodes: List[DiagramNode], arrows: List[DiagramArrow], distNode: Option[LocalName]) extends Product with Serializable
a diagram in the category of theories and morphisms
- nodes
the nodes
- arrows
the arrows
- distNode
the label of a distinguished node to be used if this diagram is used like a theory invariant: codomain of distArrow is distNode
- Source
- AnonymousModules.scala
- Alphabetic
- By Inheritance
- AnonymousDiagram
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
AnonymousDiagram(nodes: List[DiagramNode], arrows: List[DiagramArrow], distNode: Option[LocalName])
- nodes
the nodes
- arrows
the arrows
- distNode
the label of a distinguished node to be used if this diagram is used like a theory invariant: codomain of distArrow is distNode
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val arrows: List[DiagramArrow]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val distNode: Option[LocalName]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def getAllArrowsTo(label: LocalName): List[DiagramArrow]
- def getArrow(label: LocalName): Option[DiagramArrow]
- def getArrowWithNodes(label: LocalName): Option[(DiagramNode, DiagramNode, DiagramArrow)]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDistArrow: Option[DiagramArrow]
- def getDistArrowWithNodes: Option[(DiagramNode, DiagramNode, DiagramArrow)]
-
def
getDistArrowsTo(label: LocalName): List[DiagramArrow]
returns all distinguished arrows that can be composed to form a morphism into the node label starting from that node
- def getDistNode: Option[DiagramNode]
- def getElements: List[DiagramElement with Product with Serializable { def toTerm: info.kwarc.mmt.api.objects.OML }]
- def getNode(label: LocalName): Option[DiagramNode]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nodes: List[DiagramNode]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def path(sourceLabel: LocalName, targetLabel: LocalName): List[DiagramArrow]
-
def
relabel(r: (LocalName) ⇒ LocalName): AnonymousDiagram
replaces every label l with r(l)
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnonymousDiagram → AnyRef → Any
- def toTerm: OMA
- def union(that: AnonymousDiagram): AnonymousDiagram
- def viewOf(source: DiagramNode, target: DiagramNode): List[OML]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()