@moritzbrantner/diagrams - v0.1.1
GitHub
Preparing search index...
EntityRelationshipDiagramProps
Type Alias EntityRelationshipDiagramProps
EntityRelationshipDiagramProps
:
Omit
<
React.ComponentProps
<
"figure"
>
,
"children"
>
&
{
ariaLabel
?:
string
;
autoLayoutColumns
?:
number
;
caption
?:
React.ReactNode
;
collapsedEntityIds
?:
readonly
string
[]
;
defaultCollapsedEntityIds
?:
readonly
string
[]
;
defaultFocusedEntityId
?:
string
|
null
;
emptyMessage
?:
React.ReactNode
;
entities
:
readonly
EntityRelationshipEntity
[]
;
entityActions
?:
|
readonly
EntityRelationshipEntityAction
[]
|
(
(
entity
:
PositionedEntityRelationshipEntity
,
)
=>
readonly
EntityRelationshipEntityAction
[]
)
;
focusedEntityId
?:
string
|
null
;
getEntityDisabled
?:
(
entity
:
PositionedEntityRelationshipEntity
)
=>
boolean
;
keyboardMode
?:
"nodes"
|
"none"
;
onCollapsedEntityIdsChange
?:
(
entityIds
:
string
[]
,
entity
:
PositionedEntityRelationshipEntity
,
collapsed
:
boolean
,
)
=>
void
;
onEntityActionSelect
?:
(
action
:
EntityRelationshipEntityAction
,
entity
:
PositionedEntityRelationshipEntity
,
)
=>
void
;
onEntityDeselect
?:
()
=>
void
;
onEntitySelect
?:
(
entity
:
PositionedEntityRelationshipEntity
)
=>
void
;
onFieldSelect
?:
(
entity
:
PositionedEntityRelationshipEntity
,
field
:
EntityRelationshipField
,
)
=>
void
;
onFocusedEntityIdChange
?:
(
entity
:
PositionedEntityRelationshipEntity
|
null
,
)
=>
void
;
padding
?:
number
;
relations
?:
readonly
EntityRelationshipRelation
[]
;
renderEntitySelection
?:
(
entity
:
PositionedEntityRelationshipEntity
,
)
=>
React.ReactNode
;
selectedEntityId
?:
string
|
null
;
selectedFieldId
?:
string
|
null
;
}
&
DiagramInteractiveProps
<
PositionedEntityRelationshipEntity
,
EntityRelationshipRelation
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
@moritzbrantner/diagrams - v0.1.1
Loading...