Preparing search index...
The search index is not available
Grapholscape - v4.0.11
Grapholscape - v4.0.11
core
OntologyColorManager
Class OntologyColorManager
Hierarchy
ColorManager
OntologyColorManager
Index
Constructors
constructor
Properties
_class
Forest
diagram
Representation
ontology
Methods
color
Entities
get
All
Children
get
Colors
get
Top
Super
Class
set
Class
Color
Constructors
constructor
new
Ontology
Color
Manager
(
ontology
:
Ontology
, diagramRepresentation
:
DiagramRepresentation
)
:
OntologyColorManager
Parameters
ontology:
Ontology
diagramRepresentation:
DiagramRepresentation
Returns
OntologyColorManager
Properties
Private
_class
Forest
_class
Forest
:
Set
<
GrapholEntity
>
= ...
Private
diagram
Representation
diagram
Representation
:
DiagramRepresentation
Private
ontology
ontology
:
Ontology
Methods
color
Entities
color
Entities
(
entities
?:
Map
<
string
,
GrapholEntity
>
, overwrite
?:
boolean
)
:
Promise
<
void
>
Parameters
entities:
Map
<
string
,
GrapholEntity
>
= ...
overwrite:
boolean
= false
Returns
Promise
<
void
>
Protected
get
All
Children
get
All
Children
(
classEntity
:
GrapholEntity
, result
?:
Set
<
GrapholEntity
>
)
:
Set
<
GrapholEntity
>
Parameters
classEntity:
GrapholEntity
result:
Set
<
GrapholEntity
>
= ...
Returns
Set
<
GrapholEntity
>
Protected
get
Colors
get
Colors
(
numberOfColors
:
number
, usedScales
?:
string
[]
)
:
string
[]
Parameters
numberOfColors:
number
usedScales:
string
[]
= []
Returns
string
[]
Protected
get
Top
Super
Class
get
Top
Super
Class
(
classEntity
:
GrapholEntity
)
:
GrapholEntity
Parameters
classEntity:
GrapholEntity
Returns
GrapholEntity
set
Class
Color
set
Class
Color
(
classEntity
:
GrapholEntity
, overwrite
?:
boolean
)
:
OntologyColorManager
Parameters
classEntity:
GrapholEntity
overwrite:
boolean
= false
Returns
OntologyColorManager
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Modules
Grapholscape -
v4.0.11
Getting
Started
Configuration
UI
icons
config
core
index
IncrementalUI
util
model
Swagger
Model
Ontology
Color
Manager
constructor
_class
Forest
diagram
Representation
ontology
color
Entities
get
All
Children
get
Colors
get
Top
Super
Class
set
Class
Color