org.graphstream.scalags.graph

GraphHelpers

trait GraphHelpers extends Graph

A trait that adds some utility methods to the Graph interface.

Linear Supertypes
Graph, Iterable[Node], Pipe, Sink, ElementSink, AttributeSink, Source, Element, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. GraphHelpers
  2. Graph
  3. Iterable
  4. Pipe
  5. Sink
  6. ElementSink
  7. AttributeSink
  8. Source
  9. Element
  10. AnyRef
  11. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def addAttribute (arg0: String, arg1: <repeated...>[AnyRef]): Unit

    Attributes
    abstract
    Definition Classes
    Element
  2. def addAttributeSink (arg0: AttributeSink): Unit

    Attributes
    abstract
    Definition Classes
    Source
  3. def addAttributes (arg0: Map[String, AnyRef]): Unit

    Attributes
    abstract
    Definition Classes
    Element
  4. def addEdge [T <: Edge] (arg0: String, arg1: String, arg2: String, arg3: Boolean): T

    Attributes
    abstract
    Definition Classes
    Graph
    Annotations
    @throws() @throws()
  5. def addEdge [T <: Edge] (arg0: String, arg1: String, arg2: String): T

    Attributes
    abstract
    Definition Classes
    Graph
    Annotations
    @throws() @throws()
  6. def addElementSink (arg0: ElementSink): Unit

    Attributes
    abstract
    Definition Classes
    Source
  7. def addNode [T <: Node] (arg0: String): T

    Attributes
    abstract
    Definition Classes
    Graph
    Annotations
    @throws()
  8. def addSink (arg0: Sink): Unit

    Attributes
    abstract
    Definition Classes
    Source
  9. def attributeSinks (): Iterable[AttributeSink]

    Attributes
    abstract
    Definition Classes
    Graph
  10. def changeAttribute (arg0: String, arg1: <repeated...>[AnyRef]): Unit

    Attributes
    abstract
    Definition Classes
    Element
  11. def clear (): Unit

    Attributes
    abstract
    Definition Classes
    Graph
  12. def clearAttributeSinks (): Unit

    Attributes
    abstract
    Definition Classes
    Source
  13. def clearAttributes (): Unit

    Attributes
    abstract
    Definition Classes
    Element
  14. def clearElementSinks (): Unit

    Attributes
    abstract
    Definition Classes
    Source
  15. def clearSinks (): Unit

    Attributes
    abstract
    Definition Classes
    Source
  16. def display (arg0: Boolean): Viewer

    Attributes
    abstract
    Definition Classes
    Graph
  17. def display (): Viewer

    Attributes
    abstract
    Definition Classes
    Graph
  18. def edgeAdded (arg0: String, arg1: Long, arg2: String, arg3: String, arg4: String, arg5: Boolean): Unit

    Attributes
    abstract
    Definition Classes
    ElementSink
  19. def edgeAttributeAdded (arg0: String, arg1: Long, arg2: String, arg3: String, arg4: Any): Unit

    Attributes
    abstract
    Definition Classes
    AttributeSink
  20. def edgeAttributeChanged (arg0: String, arg1: Long, arg2: String, arg3: String, arg4: Any, arg5: Any): Unit

    Attributes
    abstract
    Definition Classes
    AttributeSink
  21. def edgeAttributeRemoved (arg0: String, arg1: Long, arg2: String, arg3: String): Unit

    Attributes
    abstract
    Definition Classes
    AttributeSink
  22. def edgeFactory (): org.graphstream.graph.EdgeFactory[_ <: org.graphstream.graph.Edge]

    Attributes
    abstract
    Definition Classes
    Graph
  23. def edgeRemoved (arg0: String, arg1: Long, arg2: String): Unit

    Attributes
    abstract
    Definition Classes
    ElementSink
  24. def elementSinks (): Iterable[ElementSink]

    Attributes
    abstract
    Definition Classes
    Graph
  25. def getArray (arg0: String): Array[AnyRef]

    Attributes
    abstract
    Definition Classes
    Element
  26. def getAttribute [T] (arg0: String, arg1: Class[T]): T

    Attributes
    abstract
    Definition Classes
    Element
  27. def getAttribute [T] (arg0: String): T

    Attributes
    abstract
    Definition Classes
    Element
  28. def getAttributeCount (): Int

    Attributes
    abstract
    Definition Classes
    Element
  29. def getAttributeKeyIterator (): Iterator[String]

    Attributes
    abstract
    Definition Classes
    Element
  30. def getAttributeKeySet (): Iterable[String]

    Attributes
    abstract
    Definition Classes
    Element
  31. def getEachEdge [T <: Edge] (): java.lang.Iterable[_ <: T]

    Attributes
    abstract
    Definition Classes
    Graph
  32. def getEachNode [T <: Node] (): java.lang.Iterable[_ <: T]

    Attributes
    abstract
    Definition Classes
    Graph
  33. def getEdge [T <: Edge] (arg0: String): T

    Attributes
    abstract
    Definition Classes
    Graph
  34. def getEdgeCount (): Int

    Attributes
    abstract
    Definition Classes
    Graph
  35. def getEdgeIterator [T <: Edge] (): Iterator[T]

    Attributes
    abstract
    Definition Classes
    Graph
  36. def getEdgeSet [T <: Edge] (): Collection[T]

    Attributes
    abstract
    Definition Classes
    Graph
  37. def getFirstAttributeOf [T] (arg0: Class[T], arg1: <repeated...>[String]): T

    Attributes
    abstract
    Definition Classes
    Element
  38. def getFirstAttributeOf [T] (arg0: <repeated...>[String]): T

    Attributes
    abstract
    Definition Classes
    Element
  39. def getHash (arg0: String): java.util.HashMap[_, _]

    Attributes
    abstract
    Definition Classes
    Element
  40. def getId (): String

    Attributes
    abstract
    Definition Classes
    Element
  41. def getLabel (arg0: String): CharSequence

    Attributes
    abstract
    Definition Classes
    Element
  42. def getNode [T <: Node] (arg0: String): T

    Attributes
    abstract
    Definition Classes
    Graph
  43. def getNodeCount (): Int

    Attributes
    abstract
    Definition Classes
    Graph
  44. def getNodeIterator [T <: Node] (): Iterator[T]

    Attributes
    abstract
    Definition Classes
    Graph
  45. def getNodeSet [T <: Node] (): Collection[T]

    Attributes
    abstract
    Definition Classes
    Graph
  46. def getNumber (arg0: String): Double

    Attributes
    abstract
    Definition Classes
    Element
  47. def getStep (): Double

    Attributes
    abstract
    Definition Classes
    Graph
  48. def getVector (arg0: String): java.util.ArrayList[_ <: java.lang.Number]

    Attributes
    abstract
    Definition Classes
    Element
  49. def graphAttributeAdded (arg0: String, arg1: Long, arg2: String, arg3: Any): Unit

    Attributes
    abstract
    Definition Classes
    AttributeSink
  50. def graphAttributeChanged (arg0: String, arg1: Long, arg2: String, arg3: Any, arg4: Any): Unit

    Attributes
    abstract
    Definition Classes
    AttributeSink
  51. def graphAttributeRemoved (arg0: String, arg1: Long, arg2: String): Unit

    Attributes
    abstract
    Definition Classes
    AttributeSink
  52. def graphCleared (arg0: String, arg1: Long): Unit

    Attributes
    abstract
    Definition Classes
    ElementSink
  53. def hasArray (arg0: String): Boolean

    Attributes
    abstract
    Definition Classes
    Element
  54. def hasAttribute (arg0: String, arg1: java.lang.Class[_]): Boolean

    Attributes
    abstract
    Definition Classes
    Element
  55. def hasAttribute (arg0: String): Boolean

    Attributes
    abstract
    Definition Classes
    Element
  56. def hasHash (arg0: String): Boolean

    Attributes
    abstract
    Definition Classes
    Element
  57. def hasLabel (arg0: String): Boolean

    Attributes
    abstract
    Definition Classes
    Element
  58. def hasNumber (arg0: String): Boolean

    Attributes
    abstract
    Definition Classes
    Element
  59. def hasVector (arg0: String): Boolean

    Attributes
    abstract
    Definition Classes
    Element
  60. def isAutoCreationEnabled (): Boolean

    Attributes
    abstract
    Definition Classes
    Graph
  61. def isStrict (): Boolean

    Attributes
    abstract
    Definition Classes
    Graph
  62. def iterator (): Iterator[Node]

    Attributes
    abstract
    Definition Classes
    Iterable
  63. def nodeAdded (arg0: String, arg1: Long, arg2: String): Unit

    Attributes
    abstract
    Definition Classes
    ElementSink
  64. def nodeAttributeAdded (arg0: String, arg1: Long, arg2: String, arg3: String, arg4: Any): Unit

    Attributes
    abstract
    Definition Classes
    AttributeSink
  65. def nodeAttributeChanged (arg0: String, arg1: Long, arg2: String, arg3: String, arg4: Any, arg5: Any): Unit

    Attributes
    abstract
    Definition Classes
    AttributeSink
  66. def nodeAttributeRemoved (arg0: String, arg1: Long, arg2: String, arg3: String): Unit

    Attributes
    abstract
    Definition Classes
    AttributeSink
  67. def nodeFactory (): org.graphstream.graph.NodeFactory[_ <: org.graphstream.graph.Node]

    Attributes
    abstract
    Definition Classes
    Graph
  68. def nodeRemoved (arg0: String, arg1: Long, arg2: String): Unit

    Attributes
    abstract
    Definition Classes
    ElementSink
  69. def nullAttributesAreErrors (): Boolean

    Attributes
    abstract
    Definition Classes
    Graph
  70. def read (arg0: FileSource, arg1: String): Unit

    Attributes
    abstract
    Definition Classes
    Graph
    Annotations
    @throws() @throws()
  71. def read (arg0: String): Unit

    Attributes
    abstract
    Definition Classes
    Graph
    Annotations
    @throws() @throws() @throws()
  72. def removeAttribute (arg0: String): Unit

    Attributes
    abstract
    Definition Classes
    Element
  73. def removeAttributeSink (arg0: AttributeSink): Unit

    Attributes
    abstract
    Definition Classes
    Source
  74. def removeEdge [T <: Edge] (arg0: String): T

    Attributes
    abstract
    Definition Classes
    Graph
    Annotations
    @throws()
  75. def removeEdge [T <: Edge] (arg0: String, arg1: String): T

    Attributes
    abstract
    Definition Classes
    Graph
    Annotations
    @throws()
  76. def removeElementSink (arg0: ElementSink): Unit

    Attributes
    abstract
    Definition Classes
    Source
  77. def removeNode [T <: Node] (arg0: String): T

    Attributes
    abstract
    Definition Classes
    Graph
    Annotations
    @throws()
  78. def removeSink (arg0: Sink): Unit

    Attributes
    abstract
    Definition Classes
    Source
  79. def setAttribute (arg0: String, arg1: <repeated...>[AnyRef]): Unit

    Attributes
    abstract
    Definition Classes
    Element
  80. def setAutoCreate (arg0: Boolean): Unit

    Attributes
    abstract
    Definition Classes
    Graph
  81. def setEdgeFactory (arg0: org.graphstream.graph.EdgeFactory[_ <: org.graphstream.graph.Edge]): Unit

    Attributes
    abstract
    Definition Classes
    Graph
  82. def setNodeFactory (arg0: org.graphstream.graph.NodeFactory[_ <: org.graphstream.graph.Node]): Unit

    Attributes
    abstract
    Definition Classes
    Graph
  83. def setNullAttributesAreErrors (arg0: Boolean): Unit

    Attributes
    abstract
    Definition Classes
    Graph
  84. def setStrict (arg0: Boolean): Unit

    Attributes
    abstract
    Definition Classes
    Graph
  85. def stepBegins (arg0: Double): Unit

    Attributes
    abstract
    Definition Classes
    Graph
  86. def stepBegins (arg0: String, arg1: Long, arg2: Double): Unit

    Attributes
    abstract
    Definition Classes
    ElementSink
  87. def write (arg0: FileSink, arg1: String): Unit

    Attributes
    abstract
    Definition Classes
    Graph
    Annotations
    @throws()
  88. def write (arg0: String): Unit

    Attributes
    abstract
    Definition Classes
    Graph
    Annotations
    @throws()

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def - (id: String): RichEdge

  5. def / (id: String): RichNode

  6. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  7. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  8. def addEdges (nodeIds: String*): List[RichEdge]

    Add several edges at once.

    Add several edges at once. The edges are created from two consecutive identifiers in the given set. Edge idenfiers are computed using the simple concatenation of the two nodes identifiers. For example if there are three identifiers "A", "B", and "C", two edges will be created. The first will be named "AB" between "A" and "B", the second will be "BC" between "B" and "C".

    nodeIds

    A variable set of two or more identifiers, each successive pair of identifiers forms an edge.

    returns

    A list of created edges.

  9. def addNodes (ids: String*): List[RichNode]

    Add several nodes at once.

    Add several nodes at once.

    ids

    A variable set of one or more identifiers, one for each node.

    returns

    A list of created nodes.

  10. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  11. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def edge (id: String): RichEdge

  13. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  14. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  17. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  18. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  19. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  20. def node (id: String): RichNode

  21. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  22. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  23. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  24. def toString (): String

    Definition Classes
    AnyRef → Any
  25. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  26. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  27. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Graph

Inherited from Iterable[Node]

Inherited from Pipe

Inherited from Sink

Inherited from ElementSink

Inherited from AttributeSink

Inherited from Source

Inherited from Element

Inherited from AnyRef

Inherited from Any