SysProM
Preparing search index...
operations/graph-shared
renderRelationshipLabel
Function renderRelationshipLabel
renderRelationshipLabel
(
rel
:
{
description
?:
string
|
string
[]
;
from
:
string
;
polarity
?:
"positive"
|
"negative"
|
"neutral"
|
"uncertain"
;
strength
?:
number
;
to
:
string
;
type
:
|
"refines"
|
"realises"
|
"implements"
|
"depends_on"
|
"constrained_by"
|
"affects"
|
"supersedes"
|
"must_preserve"
|
"part_of"
|
"precedes"
|
"must_follow"
|
"governed_by"
|
"modifies"
|
"produces"
;
[
key
:
string
]:
unknown
;
}
,
)
:
string
Render a human-friendly relationship label including polarity and strength
Parameters
rel
:
{
description
?:
string
|
string
[]
;
from
:
string
;
polarity
?:
"positive"
|
"negative"
|
"neutral"
|
"uncertain"
;
strength
?:
number
;
to
:
string
;
type
:
|
"refines"
|
"realises"
|
"implements"
|
"depends_on"
|
"constrained_by"
|
"affects"
|
"supersedes"
|
"must_preserve"
|
"part_of"
|
"precedes"
|
"must_follow"
|
"governed_by"
|
"modifies"
|
"produces"
;
[
key
:
string
]:
unknown
;
}
Returns
string
Example
Copy
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
SysProM
Loading...
Render a human-friendly relationship label including polarity and strength