Skip to content
中文

Default rules and check process of each route generator ​

The policy implementation follows.

ts
function route(target: string, id?: string) {
  return { id: id ?? `to-${target}`, targetNodeId: target };
}

API reference, usage examples and developer guides.