in packages/dag-history-component/stories/components/History/index.tsx [42:98]
graph: fromJS({
current: {
state: '32',
branch: '0',
},
branches: {
0: {
latest: '34',
name: 'Branch 0',
first: '1',
committed: '34',
},
},
states: {
27: {
id: '27',
name: 'Initial State',
branch: '0',
},
28: {
id: '28',
name: 'Add Empty Visual Container',
branch: '0',
parent: '27',
},
29: { id: '29', name: 'Add Field', branch: '0', parent: '28' },
30: {
id: '30',
name: 'Update Dimensions',
branch: '0',
parent: '29',
},
31: {
id: '31',
name: 'Update Dimensions',
branch: '0',
parent: '30',
},
32: { id: '32', name: 'Execute Action', branch: '0', parent: '31' },
33: { id: '33', name: 'Execute Action', branch: '0', parent: '32' },
34: { id: '34', name: 'Execute Action', branch: '0', parent: '33' },
},
physicalStates: {
27: {},
28: {},
29: {},
30: {},
31: {},
32: {},
33: {},
34: {},
},
lastStateId: '34',
lastBranchId: '1',
stateHash: {},
chronologicalStates: ['27', '28', '29', '30', '31', '32', '33', '34'],
}),