implicit final class JsonGraphCoreCompanion[+G[N, E <: Edge[N]] <: AnyGraph[N, E] with GraphLike[N, E, G]] extends AnyVal
- Alphabetic
- By Inheritance
- JsonGraphCoreCompanion
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new JsonGraphCoreCompanion(companion: GenericGraphCoreFactory[G])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from JsonGraphCoreCompanion[G] toany2stringadd[JsonGraphCoreCompanion[G]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (JsonGraphCoreCompanion[G], B)
- Implicit
- This member is added by an implicit conversion from JsonGraphCoreCompanion[G] toArrowAssoc[JsonGraphCoreCompanion[G]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val companion: GenericGraphCoreFactory[G]
- def ensuring(cond: (JsonGraphCoreCompanion[G]) => Boolean, msg: => Any): JsonGraphCoreCompanion[G]
- Implicit
- This member is added by an implicit conversion from JsonGraphCoreCompanion[G] toEnsuring[JsonGraphCoreCompanion[G]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (JsonGraphCoreCompanion[G]) => Boolean): JsonGraphCoreCompanion[G]
- Implicit
- This member is added by an implicit conversion from JsonGraphCoreCompanion[G] toEnsuring[JsonGraphCoreCompanion[G]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): JsonGraphCoreCompanion[G]
- Implicit
- This member is added by an implicit conversion from JsonGraphCoreCompanion[G] toEnsuring[JsonGraphCoreCompanion[G]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): JsonGraphCoreCompanion[G]
- Implicit
- This member is added by an implicit conversion from JsonGraphCoreCompanion[G] toEnsuring[JsonGraphCoreCompanion[G]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def fromJson[N, E <: Edge[N]](jsonLists: Iterable[JsonList], descriptor: Descriptor[N])(implicit config: GraphConfig): G[N, E]
Creates a new Graph instance and populates it with all nodes/edges found in
jsonLists
.Creates a new Graph instance and populates it with all nodes/edges found in
jsonLists
.- jsonLists
node/edge lists usually attained by parsing a JSON text
- descriptor
$DESCR
- returns
new
Graph
instance populated fromjsonText
- def fromJson[N, E <: Edge[N]](jsonText: String, descriptor: Descriptor[N])(implicit config: GraphConfig = CoreConfig()): G[N, E]
Creates a new Graph instance and populates it with all nodes/edges found in the node/edge sections of a JSON text.
Creates a new Graph instance and populates it with all nodes/edges found in the node/edge sections of a JSON text.
- jsonText
the JSON text to be parsed for node/edge sections
- descriptor
$DESCR
- returns
new
Graph
instance populated fromjsonText
- def fromJson[N, E <: Edge[N]](jsonAST: JValue, descriptor: Descriptor[N])(implicit config: GraphConfig): G[N, E]
Creates a new Graph instance and populates it with all nodes/edges found in the node/edge sections of a JSON text.
Creates a new Graph instance and populates it with all nodes/edges found in the node/edge sections of a JSON text.
- jsonAST
the JSON tree to be parsed for node/edge sections
- descriptor
$DESCR
- returns
new
Graph
instance populated fromjsonAST
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from JsonGraphCoreCompanion[G] toStringFormat[JsonGraphCoreCompanion[G]] 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): (JsonGraphCoreCompanion[G], B)
- Implicit
- This member is added by an implicit conversion from JsonGraphCoreCompanion[G] toArrowAssoc[JsonGraphCoreCompanion[G]] 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.