case class UML(labels: Map[ShapeLabel, NodeId], components: Map[NodeId, UMLComponent], links: List[UMLLink]) extends Product with Serializable

Represents a UML-like class diagram that can be serialized to PlantUML syntax

labels

associates ShapeLabels to NodeIds

components

associates NodeIds to UMLComponents

links

list of links

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UML
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UML(labels: Map[ShapeLabel, NodeId], components: Map[NodeId, UMLComponent], links: List[UMLLink])

    labels

    associates ShapeLabels to NodeIds

    components

    associates NodeIds to UMLComponents

    links

    list of links

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addClass(cls: UMLClass): UML
  5. def addLink(link: UMLLink): UML
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. def cnvClass(cls: UMLClass): String
  9. def cnvComponent(c: UMLComponent): String
  10. def cnvEntry(entry: UMLEntry): String
  11. def cnvExtends(c: UMLComponent): String
  12. def cnvField(field: UMLField): String
  13. def cnvFieldExpr(fe: FieldExpr): String
  14. def cnvLink(link: UMLLink): String
  15. def cnvValueConstraint(vc: ValueConstraint): String
  16. val components: Map[NodeId, UMLComponent]
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def getId(label: ShapeLabel): Option[NodeId]

    Get nodeId of a shape label

    Get nodeId of a shape label

    label

    shape label

  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. val labels: Map[ShapeLabel, NodeId]
  22. val links: List[UMLLink]
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def newLabel(label: ShapeLabel): (UML, NodeId)

    Adds a label to a UML diagram If exists, return the existing nodeId

    Adds a label to a UML diagram If exists, return the existing nodeId

    label

    Shape label

    returns

    a pair with the updated UML diagram and the nodeId

  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toFormat(options: PlantUMLOptions, format: FileFormat): IO[String]

    Convert a UML diagram to some format

    Convert a UML diagram to some format

    options

    plantUML options

    format

    output format

  30. def toJson: Json

    Convert the UML diagram to JSON

    Convert the UML diagram to JSON

    returns

    JSON representation of the diagram

  31. def toPlantUML(options: PlantUMLOptions): String
  32. def toSVG(options: PlantUMLOptions): IO[String]

    Converts a diagram to SVG

    Converts a diagram to SVG

    options

    PlantUML options

    returns

    an IO action that generates the SVG representation of the UML diagram

  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped