class GraphBuilder[N, E[+X] <: EdgeLikeIn[X], CC[N, E[+X] <: EdgeLikeIn[X]] <: collection.GraphLike[N, E[X], CC] with collection.Graph[N, E[X]]] extends BuilderImpl[N, E, CC]
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- GraphBuilder
- BuilderImpl
- Growable
- Builder
- Growable
- Clearable
- AnyRef
- Any
Implicitly
- by EdgeAssoc
- by anyToNode
- by ChainingOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new GraphBuilder(companion: GraphCompanion[CC])(implicit edgeT: ClassTag[E[N]], config: GraphConfig)
Type Members
- type This = CC[N, E]
- Attributes
- protected
- Definition Classes
- BuilderImpl
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toany2stringadd[GraphBuilder[N, E, CC]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- final def ++=(xs: scala.collection.IterableOnce[Param[N, E]]): GraphBuilder.this.type
- Definition Classes
- Growable
- Annotations
- @inline()
- final def +=(elem: Param[N, E]): GraphBuilder.this.type
- Definition Classes
- Growable
- Annotations
- @inline()
- def ->[B](y: B): (GraphBuilder[N, E, CC], B)
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toArrowAssoc[GraphBuilder[N, E, CC]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def add(elem: Param[N, E]): Unit
- Attributes
- protected
- Definition Classes
- BuilderImpl
- def addAll(xs: scala.collection.IterableOnce[Param[N, E]]): GraphBuilder.this.type
- Definition Classes
- Growable
- def addOne(elem: Param[N, E]): GraphBuilder.this.type
- Definition Classes
- BuilderImpl → Growable
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clear(): Unit
- Definition Classes
- BuilderImpl → Builder → Clearable
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val edges: ArrayBuffer[E[N]]
- Attributes
- protected
- Definition Classes
- BuilderImpl
- def ensuring(cond: (GraphBuilder[N, E, CC]) => Boolean, msg: => Any): GraphBuilder[N, E, CC]
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toEnsuring[GraphBuilder[N, E, CC]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (GraphBuilder[N, E, CC]) => Boolean): GraphBuilder[N, E, CC]
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toEnsuring[GraphBuilder[N, E, CC]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): GraphBuilder[N, E, CC]
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toEnsuring[GraphBuilder[N, E, CC]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): GraphBuilder[N, E, CC]
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toEnsuring[GraphBuilder[N, E, CC]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def isDefined: Boolean
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toOuterNode[GraphBuilder[N, E, CC]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- Param
- final def isEdge: Boolean
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toOuterNode[GraphBuilder[N, E, CC]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- Param
- def isIn: Boolean
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toOuterNode[GraphBuilder[N, E, CC]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- InParam → Param
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isNode: Boolean
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toOuterNode[GraphBuilder[N, E, CC]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- NodeParam
- final def isOut: Boolean
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toOuterNode[GraphBuilder[N, E, CC]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- Param
- def knownSize: Int
- Definition Classes
- Growable
- def mapResult[NewTo](f: (CC[N, E]) => NewTo): Builder[Param[N, E], NewTo]
- Definition Classes
- Builder
- val n1: GraphBuilder[N, E, CC]
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toEdgeAssoc[GraphBuilder[N, E, CC]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
- Definition Classes
- EdgeAssoc
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nodes: ArrayBuffer[N]
- Attributes
- protected
- Definition Classes
- BuilderImpl
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def pipe[B](f: (GraphBuilder[N, E, CC]) => B): B
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toChainingOps[GraphBuilder[N, E, CC]] performed by method ChainingOps in scalax.collection.
- Definition Classes
- ChainingOps
- def productElementNames: Iterator[String]
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toOuterNode[GraphBuilder[N, E, CC]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- Product
- def result(): This
- Definition Classes
- GraphBuilder → Builder
- val self: GraphBuilder[N, E, CC]
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toChainingOps[GraphBuilder[N, E, CC]] performed by method ChainingOps in scalax.collection.
- Definition Classes
- ChainingOps
- final def sizeHint(coll: scala.collection.IterableOnce[_], delta: Int): Unit
- Definition Classes
- Builder
- def sizeHint(size: Int): Unit
- Definition Classes
- Builder
- final def sizeHintBounded(size: Int, boundingColl: Iterable[_]): Unit
- Definition Classes
- Builder
- def stringPrefix: String
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toOuterNode[GraphBuilder[N, E, CC]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- NodeParam
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tap[U](f: (GraphBuilder[N, E, CC]) => U): GraphBuilder[N, E, CC]
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toChainingOps[GraphBuilder[N, E, CC]] performed by method ChainingOps in scalax.collection.
- Definition Classes
- ChainingOps
- def toString(): String
- Definition Classes
- AnyRef → Any
- val value: GraphBuilder[N, E, CC]
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toOuterNode[GraphBuilder[N, E, CC]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- OuterNode → NodeParam
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def ~[N >: N1](n2: N): UnDiEdge[N]
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toEdgeAssoc[GraphBuilder[N, E, CC]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
- Definition Classes
- EdgeAssoc
- Annotations
- @inline()
- def ~>[N >: N1](n2: N): DiEdge[N]
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toEdgeAssoc[GraphBuilder[N, E, CC]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
- Definition Classes
- EdgeAssoc
- Annotations
- @inline()
Shadowed Implicit Value Members
- def toString(): String
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toOuterNode[GraphBuilder[N, E, CC]] performed by method anyToNode in scalax.collection.GraphPredef.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(graphBuilder: OuterNode[GraphBuilder[N, E, CC]]).toString()
- Definition Classes
- NodeParam → AnyRef → Any
Deprecated Value Members
- final def +=(elem1: Param[N, E], elem2: Param[N, E], elems: Param[N, E]*): GraphBuilder.this.type
- Definition Classes
- Growable
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
++=
akaaddAll
instead of varargs+=
; infix operations with an operand of multiple args will be deprecated
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toStringFormat[GraphBuilder[N, E, CC]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (GraphBuilder[N, E, CC], B)
- Implicit
- This member is added by an implicit conversion from GraphBuilder[N, E, CC] toArrowAssoc[GraphBuilder[N, E, CC]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
Welcome to the Graph for Scala API reference. Some suggested navigation entry points:
Graph
mutable.Graph
and its inner nodes.GraphEdge
objectedge
packageGraphPredef
object andImplicits
object.GraphTraversal
andTraverserInnerNode
.RandomGraph
.GraphGen
.