VertexType

scalation.database.graph.VertexType
See theVertexType companion class
object VertexType

The VertexType companion object provides factory functions for building vertex-types.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
VertexType.type

Members list

Value members

Concrete methods

def apply(name: String, schema: String, verts: ArrayBuffer[Vertex], color: Color, shape: Shape): VertexType

The VertexType class collects vertices of the same type, e.g., a person vertex-type. A vertex-type is analogous to a relation with no foreign keys in an RDBMS.

The VertexType class collects vertices of the same type, e.g., a person vertex-type. A vertex-type is analogous to a relation with no foreign keys in an RDBMS.

Value parameters

color

the display color for vertices of this type

name

the name of this vertex-type ('name' form Identifiable)

schema

the property names for this vertex-type

shape

the display shape template for vertices of this type

verts

the set of vertices having this vertex-type (ext ension)

Attributes