Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "utils"

Index

Functions

get_parameter_uid

  • get_parameter_uid(vertex: IVertex, parameter: string): string
  • Retruns a uid string for a parameter in a vertex.

    note:

    Can not stringify {id: ..., type: ...} since order is not gurenteed in this case and we need the order to be fixed to confirm uniqueness. ex: { id 1, type: null } and { type: null, id: 1 } should refer to the same object.

    Parameters

    • vertex: IVertex
    • parameter: string

    Returns string

get_vertex_uid

  • get_vertex_uid(vertex: IVertex): string
  • Retruns a uid string for a vertex.

    note:

    Can not stringify {id: ..., type: ...} since order is not gurenteed in this case and we need the order to be fixed to confirm uniqueness. ex: { id 1, type: null } and { type: null, id: 1 } should refer to the same object.

    Parameters

    Returns string

Generated using TypeDoc