export type VertexId = string; export type VertexBody = Record; export type VertexDefinition = { id: VertexId; adjacentTo: VertexId[]; body: Body; };