Edge
io.github.scala_tessella.tessella.Topology.Edge
object Edge
Companion object for Edge
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Edge.type
Members list
Value members
Concrete methods
Creates an Edge
with the lesser Node
first
Creates an Edge
with the lesser Node
first
Value parameters
- nodes
-
Node
pair
Attributes
- Throws
-
IllegalArgumentException
if nodes are equal or with an ordinal lesser than 1
- Example
-
Edge((Node(2), Node(1)) // 1--2
Creates an Edge
from two nodes
Creates an Edge
from two nodes
Attributes
Creates an Edge
from the fist two nodes of a sequence
Creates an Edge
from the fist two nodes of a sequence
Attributes
Creates a stringified edge from Node
pair
Creates a stringified edge from Node
pair
Attributes
In this article