@manta-eu/react/graph/types
Reference for @manta-eu/react/graph/types as it is on main.
Type Aliases
EntityView
EntityView =
ComponentType<EntityViewProps>
EntityViewProps
EntityViewProps =
object
Properties
data
data:
RDFNodeData
onContextMenu?
optionalonContextMenu?: (e) =>void
Parameters
e
React.MouseEvent
Returns
void
ringColor?
optionalringColor?:string
selected?
optionalselected?:boolean
LayoutDirection
LayoutDirection =
"LR"|"TB"
NodeProperty
NodeProperty =
object
Properties
iri?
optionaliri?:string
key
key:
string
label?
optionallabel?:string
value
value:
string
valueScale?
optionalvalueScale?:number
NodeRelation
NodeRelation =
object
Properties
predicate
predicate:
IRI
target
target:
IRI
OnNodeContextMenu
OnNodeContextMenu = (
nodeId,nodeLabel,x,y) =>void
Parameters
nodeId
string
nodeLabel
string
x
number
y
number
Returns
void
RDFNode
RDFNode =
Node<RDFNodeData,RDFNodeType>
RDFNodeData
RDFNodeData =
object
Indexable
[
key:string]:unknown
Properties
actionShape?
optionalactionShape?:IRI
childIds
childIds:
string[]
connectionCount
connectionCount:
number
depth
depth:
number
hasChildren
hasChildren:
boolean
isCollapsed
isCollapsed:
boolean
isHub
isHub:
boolean
jsonLd
jsonLd:
Record<string,unknown>
label
label:
string
parentId?
optionalparentId?:string
properties
properties:
NodeProperty[]
relations?
optionalrelations?:NodeRelation[]
type?
optionaltype?:string
RDFNodeType
RDFNodeType =
"rdfNode"|"typeSummaryNode"
SampleInstance
SampleInstance =
object
Properties
id
id:
string
label
label:
string
properties
properties:
NodeProperty[]
type
type:
string