@graphty/graphty-element / session / RESULT_SHAPE_CONTRACTS
Variable: RESULT_SHAPE_CONTRACTS ​
constRESULT_SHAPE_CONTRACTS:object
Defined in: graphty-element/src/session/results/types.ts:397
The ten result shapes and the fields each one publishes.
satisfies Record<ResultShape, ...> is what keeps this table and the shape union from drifting: a shape with no entry fails to compile, and so does an entry for a shape that does not exist.
Type Declaration ​
category-table ​
readonlycategory-table:object
category-table.edgeFields ​
readonlyedgeFields: readonly [] =[]
category-table.graphFields ​
readonlygraphFields: readonly ["categories"]
category-table.headlineScalar ​
readonlyheadlineScalar:false=false
category-table.layer ​
readonlylayer:"encoding"="encoding"
category-table.nodeFields ​
readonlynodeFields: readonly ["category","score","rank"]
category-table.optionalGraphFields ​
readonlyoptionalGraphFields: readonly [] =[]
category-table.primaryField ​
readonlyprimaryField:"category"="category"
category-table.shape ​
readonlyshape:"category-table"="category-table"
community ​
readonlycommunity:object
community.edgeFields ​
readonlyedgeFields: readonly [] =[]
community.graphFields ​
readonlygraphFields: readonly ["groupCount","sizes"]
community.headlineScalar ​
readonlyheadlineScalar:false=false
community.layer ​
readonlylayer:"encoding"="encoding"
community.nodeFields ​
readonlynodeFields: readonly ["group","groupSize"]
community.optionalGraphFields ​
readonlyoptionalGraphFields: readonly ["modularity"]
community.primaryField ​
readonlyprimaryField:"group"="group"
community.shape ​
readonlyshape:"community"="community"
edge-metric ​
readonlyedge-metric:object
edge-metric.edgeFields ​
readonlyedgeFields: readonly ["value","rank","percentile"]
edge-metric.graphFields ​
readonlygraphFields: readonly ["min","max","median","mean","measured","normalization","tiedAtMin"]
edge-metric.headlineScalar ​
readonlyheadlineScalar:false=false
edge-metric.layer ​
readonlylayer:"encoding"="encoding"
edge-metric.nodeFields ​
readonlynodeFields: readonly [] =[]
edge-metric.optionalGraphFields ​
readonlyoptionalGraphFields: readonly [] =[]
edge-metric.primaryField ​
readonlyprimaryField:"value"="value"
edge-metric.shape ​
readonlyshape:"edge-metric"="edge-metric"
edge-set ​
readonlyedge-set:object
edge-set.edgeFields ​
readonlyedgeFields: readonly ["in"]
edge-set.graphFields ​
readonlygraphFields: readonly ["count"]
edge-set.headlineScalar ​
readonlyheadlineScalar:true=true
edge-set.layer ​
readonlylayer:"highlight"="highlight"
edge-set.nodeFields ​
readonlynodeFields: readonly [] =[]
edge-set.optionalGraphFields ​
readonlyoptionalGraphFields: readonly [] =[]
edge-set.primaryField ​
readonlyprimaryField:"in"="in"
edge-set.shape ​
readonlyshape:"edge-set"="edge-set"
fact ​
readonlyfact:object
fact.edgeFields ​
readonlyedgeFields: readonly [] =[]
fact.graphFields ​
readonlygraphFields: readonly [] =[]
fact.headlineScalar ​
readonlyheadlineScalar:false=false
fact.layer ​
readonlylayer:"none"="none"
fact.nodeFields ​
readonlynodeFields: readonly [] =[]
fact.optionalGraphFields ​
readonlyoptionalGraphFields: readonly [] =[]
fact.primaryField ​
readonlyprimaryField:null=null
fact.shape ​
readonlyshape:"fact"="fact"
layered-grouping ​
readonlylayered-grouping:object
layered-grouping.edgeFields ​
readonlyedgeFields: readonly [] =[]
layered-grouping.graphFields ​
readonlygraphFields: readonly ["levelCount","sizes"]
layered-grouping.headlineScalar ​
readonlyheadlineScalar:false=false
layered-grouping.layer ​
readonlylayer:"encoding"="encoding"
layered-grouping.nodeFields ​
readonlynodeFields: readonly ["level","levelSize"]
layered-grouping.optionalGraphFields ​
readonlyoptionalGraphFields: readonly [] =[]
layered-grouping.primaryField ​
readonlyprimaryField:"level"="level"
layered-grouping.shape ​
readonlyshape:"layered-grouping"="layered-grouping"
node-metric ​
readonlynode-metric:object
node-metric.edgeFields ​
readonlyedgeFields: readonly [] =[]
node-metric.graphFields ​
readonlygraphFields: readonly ["min","max","median","mean","measured","normalization","tiedAtMin"]
node-metric.headlineScalar ​
readonlyheadlineScalar:false=false
node-metric.layer ​
readonlylayer:"encoding"="encoding"
node-metric.nodeFields ​
readonlynodeFields: readonly ["value","rank","percentile"]
node-metric.optionalGraphFields ​
readonlyoptionalGraphFields: readonly [] =[]
node-metric.primaryField ​
readonlyprimaryField:"value"="value"
node-metric.shape ​
readonlyshape:"node-metric"="node-metric"
node-set ​
readonlynode-set:object
node-set.edgeFields ​
readonlyedgeFields: readonly [] =[]
node-set.graphFields ​
readonlygraphFields: readonly ["count"]
node-set.headlineScalar ​
readonlyheadlineScalar:true=true
node-set.layer ​
readonlylayer:"highlight"="highlight"
node-set.nodeFields ​
readonlynodeFields: readonly ["in"]
node-set.optionalGraphFields ​
readonlyoptionalGraphFields: readonly [] =[]
node-set.primaryField ​
readonlyprimaryField:"in"="in"
node-set.shape ​
readonlyshape:"node-set"="node-set"
pair-list ​
readonlypair-list:object
pair-list.edgeFields ​
readonlyedgeFields: readonly [] =[]
pair-list.graphFields ​
readonlygraphFields: readonly ["pairs"]
pair-list.headlineScalar ​
readonlyheadlineScalar:false=false
pair-list.layer ​
readonlylayer:"none"="none"
pair-list.nodeFields ​
readonlynodeFields: readonly [] =[]
pair-list.optionalGraphFields ​
readonlyoptionalGraphFields: readonly [] =[]
pair-list.primaryField ​
readonlyprimaryField:"pairs"="pairs"
pair-list.shape ​
readonlyshape:"pair-list"="pair-list"
path ​
readonlypath:object
path.edgeFields ​
readonlyedgeFields: readonly ["onPath"]
path.graphFields ​
readonlygraphFields: readonly ["length","cost","hops"]
path.headlineScalar ​
readonlyheadlineScalar:false=false
path.layer ​
readonlylayer:"highlight"="highlight"
path.nodeFields ​
readonlynodeFields: readonly ["onPath","order"]
path.optionalGraphFields ​
readonlyoptionalGraphFields: readonly [] =[]
path.primaryField ​
readonlyprimaryField:"onPath"="onPath"
path.shape ​
readonlyshape:"path"="path"
temporal ​
readonlytemporal:object
temporal.edgeFields ​
readonlyedgeFields: readonly [] =[]
temporal.graphFields ​
readonlygraphFields: readonly ["steps","series","rates","changeThreshold"]
temporal.headlineScalar ​
readonlyheadlineScalar:false=false
temporal.layer ​
readonlylayer:"none"="none"
temporal.nodeFields ​
readonlynodeFields: readonly [] =[]
temporal.optionalGraphFields ​
readonlyoptionalGraphFields: readonly [] =[]
temporal.primaryField ​
readonlyprimaryField:"series"="series"
temporal.shape ​
readonlyshape:"temporal"="temporal"