Skip to content

@graphty/graphty-element / session / EdgeReading

Type Alias: EdgeReading ​

EdgeReading = "induced" | "listed" | "clipped"

Defined in: graphty-element/src/catalog/types.ts:1104

Which edges come with a set's nodes. Stored, never inferred from whether edges are present.

  • induced: the node half plus every edge between its nodes (NetworkX G.subgraph(nodes)).
  • listed: the edge half plus its endpoints, plus the node half (NetworkX G.edge_subgraph(edges) plus any listed nodes). Paths, edge sets and edge rules.
  • clipped: the node half, plus the edge half clipped to edges whose endpoints are both in the node half. Rules only: exactly what the visibility filter shows. A fixed set given clipped is stored listed, which holds the same members.

OPEN UNION: kinds may be added in a minor release; handle unknown kinds.