Packages

c

com.github.mdr.ascii.java

GraphLayouter

class GraphLayouter[V] extends LayoutPrefs

Java-friendly utility to configure layout preferences, and layout a grpah.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GraphLayouter
  2. LayoutPrefs
  3. RendererPrefs
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GraphLayouter()

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  6. def compactify(): Boolean

    Shrink diagram by removing edge rows (or columns) that are not needed.

    Shrink diagram by removing edge rows (or columns) that are not needed.

    Definition Classes
    GraphLayouterLayoutPrefs
  7. def doubleVertices(): Boolean

    If true (and unicode is true), use double-lines for rendering boxes.

    If true (and unicode is true), use double-lines for rendering boxes.

    Definition Classes
    GraphLayouterRendererPrefs
  8. def elevateEdges(): Boolean

    Move edges up where possible, to avoid collisions.

    Move edges up where possible, to avoid collisions.

    Definition Classes
    GraphLayouterLayoutPrefs
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def explicitAsciiBends(): Boolean

    If true (and unicode is false), use / and \ characters for edge bends.

    If true (and unicode is false), use / and \ characters for edge bends. This is useful for reducing ambiguity, but can be more aesthetically noisy.

    Definition Classes
    GraphLayouterRendererPrefs
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def layout(graph: Graph[V]): String
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def removeKinks(): Boolean

    Straighten edges by removing kinks wherever possible.

    Straighten edges by removing kinks wherever possible.

    Definition Classes
    GraphLayouterLayoutPrefs
  20. def rounded(): Boolean

    If true (and unicode is true), use rounded corners for edge bends and (if doubleVertices is false) for box corners.

    If true (and unicode is true), use rounded corners for edge bends and (if doubleVertices is false) for box corners. Note: these characters seem not to be well supported by typical Windows fonts.

    Definition Classes
    GraphLayouterRendererPrefs
  21. def setCompactify(compactify: Boolean): Unit
  22. def setDoubleVertices(doubleVertices: Boolean): Unit
  23. def setElevateEdges(elevateEdges: Boolean): Unit
  24. def setExplicitAsciiBends(explicitAsciiBends: Boolean): Unit
  25. def setRemoveKinks(removeKinks: Boolean): Unit
  26. def setRounded(rounded: Boolean): Unit
  27. def setUnicode(unicode: Boolean): Unit
  28. def setVertical(vertical: Boolean): Unit
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. def unicode(): Boolean

    If true, use Unicode box-drawing characters, else use ASCII characters.

    If true, use Unicode box-drawing characters, else use ASCII characters.

    Definition Classes
    GraphLayouterRendererPrefs
  32. def vertical(): Boolean

    If true, layers flow from top to bottom.

    If true, layers flow from top to bottom. If false, layers flow from left to right.

    Definition Classes
    GraphLayouterLayoutPrefs
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from LayoutPrefs

Inherited from RendererPrefs

Inherited from AnyRef

Inherited from Any

Ungrouped