@moritzbrantner/diagrams - v0.1.1
GitHub
Preparing search index...
ArchitectureDiagramProps
Type Alias ArchitectureDiagramProps
ArchitectureDiagramProps
:
Omit
<
React.ComponentProps
<
"figure"
>
,
"children"
>
&
{
ariaLabel
?:
string
;
autoLayoutColumns
?:
number
;
boundaries
?:
readonly
ArchitectureDiagramBoundary
[]
;
caption
?:
React.ReactNode
;
collapsedBoundaryIds
?:
readonly
string
[]
;
connections
?:
readonly
ArchitectureDiagramConnection
[]
;
defaultCollapsedBoundaryIds
?:
readonly
string
[]
;
defaultFocusedNodeId
?:
string
|
null
;
emptyMessage
?:
React.ReactNode
;
focusedNodeId
?:
string
|
null
;
getNodeDisabled
?:
(
node
:
PositionedArchitectureDiagramNode
)
=>
boolean
;
keyboardMode
?:
"nodes"
|
"none"
;
nodeActions
?:
|
readonly
ArchitectureDiagramNodeAction
[]
|
(
(
node
:
PositionedArchitectureDiagramNode
,
)
=>
readonly
ArchitectureDiagramNodeAction
[]
)
;
nodes
:
readonly
ArchitectureDiagramNode
[]
;
onBoundarySelect
?:
(
boundary
:
PositionedArchitectureDiagramBoundary
,
)
=>
void
;
onCollapsedBoundaryIdsChange
?:
(
boundaryIds
:
string
[]
,
boundary
:
ArchitectureDiagramBoundary
,
collapsed
:
boolean
,
)
=>
void
;
onFocusedNodeIdChange
?:
(
node
:
PositionedArchitectureDiagramNode
|
null
,
)
=>
void
;
onNodeActionSelect
?:
(
action
:
ArchitectureDiagramNodeAction
,
node
:
PositionedArchitectureDiagramNode
,
)
=>
void
;
onNodeDeselect
?:
()
=>
void
;
onNodeSelect
?:
(
node
:
PositionedArchitectureDiagramNode
)
=>
void
;
padding
?:
number
;
renderNodeSelection
?:
(
node
:
PositionedArchitectureDiagramNode
,
)
=>
React.ReactNode
;
selectedBoundaryId
?:
string
|
null
;
selectedNodeId
?:
string
|
null
;
}
&
DiagramInteractiveProps
<
PositionedArchitectureDiagramNode
,
ArchitectureDiagramConnection
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
@moritzbrantner/diagrams - v0.1.1
Loading...