|
@ -163,6 +163,7 @@ export function GraphWrapper({ |
|
|
// const [graphDateFormatter, setGraphDateFormatter] = useState(getGraphDateFormatter(config));
|
|
|
// const [graphDateFormatter, setGraphDateFormatter] = useState(getGraphDateFormatter(config));
|
|
|
const [columns, setColumns] = useState(state.columns); |
|
|
const [columns, setColumns] = useState(state.columns); |
|
|
const [excludeRefsById, setExcludeRefsById] = useState(state.excludeRefs); |
|
|
const [excludeRefsById, setExcludeRefsById] = useState(state.excludeRefs); |
|
|
|
|
|
const [excludeTypes, setExcludeTypes] = useState(state.excludeTypes); |
|
|
const [includeOnlyRefsById, setIncludeOnlyRefsById] = useState(state.includeOnlyRefs); |
|
|
const [includeOnlyRefsById, setIncludeOnlyRefsById] = useState(state.includeOnlyRefs); |
|
|
const [context, setContext] = useState(state.context); |
|
|
const [context, setContext] = useState(state.context); |
|
|
const [pagingHasMore, setPagingHasMore] = useState(state.paging?.hasMore ?? false); |
|
|
const [pagingHasMore, setPagingHasMore] = useState(state.paging?.hasMore ?? false); |
|
@ -272,6 +273,7 @@ export function GraphWrapper({ |
|
|
setGraphConfig(state.config); |
|
|
setGraphConfig(state.config); |
|
|
setSelectedRows(state.selectedRows); |
|
|
setSelectedRows(state.selectedRows); |
|
|
setExcludeRefsById(state.excludeRefs); |
|
|
setExcludeRefsById(state.excludeRefs); |
|
|
|
|
|
setExcludeTypes(state.excludeTypes); |
|
|
setIncludeOnlyRefsById(state.includeOnlyRefs); |
|
|
setIncludeOnlyRefsById(state.includeOnlyRefs); |
|
|
setContext(state.context); |
|
|
setContext(state.context); |
|
|
setAvatars(state.avatars ?? {}); |
|
|
setAvatars(state.avatars ?? {}); |
|
@ -833,6 +835,7 @@ export function GraphWrapper({ |
|
|
cssVariables={styleProps?.cssVariables} |
|
|
cssVariables={styleProps?.cssVariables} |
|
|
enableMultiSelection={graphConfig?.enableMultiSelection} |
|
|
enableMultiSelection={graphConfig?.enableMultiSelection} |
|
|
excludeRefsById={excludeRefsById} |
|
|
excludeRefsById={excludeRefsById} |
|
|
|
|
|
excludeByType={excludeTypes} |
|
|
formatCommitDateTime={getGraphDateFormatter(graphConfig)} |
|
|
formatCommitDateTime={getGraphDateFormatter(graphConfig)} |
|
|
getExternalIcon={getIconElementLibrary} |
|
|
getExternalIcon={getIconElementLibrary} |
|
|
graphRows={rows} |
|
|
graphRows={rows} |
|
|