Skip to content

site-shared ​

Kind: component

The site's shared segments: browser checks, JSON loading, tree walks and a breadth-first walk, theme tokens resolved to literal colours, the Cytoscape loader, the ELK layout run in a Web Worker and kept per graph, ECharts, and a command to copy

Source: src/beadloom/site_scaffold/.vitepress/theme/shared/

Public symbols ​

  • BOX_SIDE
  • CopyCommand
  • LANE_EDGE
  • LAYERED_OPTIONS
  • RING_TONES
  • TOKEN_VARIABLES
  • VChart
  • boxOf
  • breadthFirst
  • childrenOf
  • copy
  • createJsonResource
  • detectDark
  • elkGraphOf
  • errorOf
  • failAll
  • flatten
  • freshId
  • geometryOf
  • idRecord
  • isBrowser
  • keep
  • laneEdgesOf
  • laneOf
  • layOut
  • loadCytoscape
  • mixRgb
  • palette
  • parseRgb
  • polylineOf
  • report
  • request
  • resolveTokens
  • routeOf
  • selectCommand
  • shellQuote
  • startWorker
  • subtreeOf
  • useEchartsTheme
  • useThemeTokens
  • warmUpLayout
  • withAncestors

Relationships ​

Documentation ​

Graph ​