CURRENT IMPLEMENTATION · PARTIAL MODEL
Inside architecture layout
Where are model meaning and generated geometry checked?
Selected module dependencies; ELK supplies placement, Waxwing validates source and output.
Waxwing Node.js implementation; static source inspection · 00f30217513433cbb1fb83318ed469e19f890621
Arrows describe operations: actor → resource. Position does not imply execution order. Select a record for evidence and documents.
Readability warnings (1)
Advisory checks at a reference viewport of 1200 × 520; they do not establish architectural truth or guarantee readability.
- Small node text may be difficult to read at Fit. Use 100% or zoom in.
Records & evidence
Complete claims for the records included here. Inspect scope and qualifications before drawing conclusions.
Inside architecture layout layout-details
Inside architecture layout
layout-details
Documents: Read this example
- title
- Inside architecture layout
- scope
- timeframe
- current
- environment
- Waxwing Node.js implementation; static source inspection
- snapshot
- 00f30217513433cbb1fb83318ed469e19f890621
- coverage
- partial
- question
- Where are model meaning and generated geometry checked?
- includes
- Architecture-model path and selected direct function calls.
- excludes
- Sequence dispatch, workflow layout internals, all validation branches, performance measurements, and filesystem failure recovery.
- abstraction
- Selected module dependencies; ELK supplies placement, Waxwing validates source and output.
- relationship Refs
- membership Refs
- None recorded
- expands
- graph Ref
- overview
- node Ref
- layout
- meaning
- established
- value
- Expand the layout module into its coordinator and validation responsibilities; CLI and ELK are external context.
- basis
- source Refs
- explanation
- Responsibilities follow the imports and body of layoutModel.
- boundaries
- relationship Ref
- place
- detail
- established
- value
- place-detail
- basis
- source Refs
- explanation
- The overview layout call enters layoutModel.
CLI cli
CLI
cli
- label
- CLI
- existence
- established
- value
- true
- basis
- source Refs
- explanation
- Command dispatch and artifact writes.
- category
- inferred
- value
- service
- basis
- source Refs
- explanation
- The draft vocabulary has no module category. Service denotes a logical callable responsibility here, not a deployed network service.
- abstraction
- represents
- established
- value
- Command dispatch and artifact writes.
- basis
- source Refs
- explanation
- Command dispatch and artifact writes.
- omits
- Private functions and implementation classes.
- reason
- Show callable responsibilities within one local Node.js process.
Model validator model
Model validator
model
- label
- Model validator
- existence
- established
- value
- true
- basis
- source Refs
- explanation
- Check model schema and semantic references.
- category
- inferred
- value
- service
- basis
- source Refs
- explanation
- The draft vocabulary has no module category. Service denotes a logical callable responsibility here, not a deployed network service.
- abstraction
- represents
- established
- value
- Check model schema and semantic references.
- basis
- source Refs
- explanation
- Check model schema and semantic references.
- omits
- Private functions and implementation classes.
- reason
- Show callable responsibilities within one local Node.js process.
Layout validator geometry
Layout validator
geometry
- label
- Layout validator
- existence
- established
- value
- true
- basis
- source Refs
- explanation
- Check layout geometry and source-model consistency.
- category
- inferred
- value
- service
- basis
- source Refs
- explanation
- The draft vocabulary has no module category. Service denotes a logical callable responsibility here, not a deployed network service.
- abstraction
- represents
- established
- value
- Check layout geometry and source-model consistency.
- basis
- source Refs
- explanation
- Check layout geometry and source-model consistency.
- omits
- Private functions and implementation classes.
- reason
- Show callable responsibilities within one local Node.js process.
ELK elk
ELK
elk
- label
- ELK
- existence
- established
- value
- true
- basis
- source Refs
- explanation
- Third-party automatic geometry engine called by the layout module.
- category
- inferred
- value
- service
- basis
- source Refs
- explanation
- The draft vocabulary has no module category. Service denotes a logical callable responsibility here, not a deployed network service.
- abstraction
- represents
- established
- value
- Third-party automatic geometry engine called by the layout module.
- basis
- source Refs
- explanation
- Third-party automatic geometry engine called by the layout module.
- omits
- Private functions and implementation classes.
- reason
- Show callable responsibilities within one local Node.js process.
Layout coordinator layout-core
Layout coordinator
layout-core
- label
- Layout coordinator
- existence
- established
- value
- true
- basis
- source Refs
- explanation
- Validate the model, obtain geometry, and preserve source in JSON 2.
- category
- inferred
- value
- service
- basis
- source Refs
- explanation
- The draft vocabulary has no module category. Service denotes a logical callable responsibility here, not a deployed network service.
- abstraction
- represents
- established
- value
- The layoutModel function coordinates model checks, automatic placement and output checks.
- basis
- source Refs
- explanation
- Directly implemented in layoutModel.
- omits
- Private functions and implementation classes.
- reason
- Show callable responsibilities within one local Node.js process.
Validate model validate-source
Validate model
validate-source
- label
- Validate model
- kind
- calls
- existence
- established
- value
- true
- basis
- source Refs
- explanation
- layoutModel calls validateModel before automatic layout.
Place graph auto-layout
Place graph
auto-layout
- to
- ELK
- label
- Place graph
- kind
- calls
- existence
- established
- value
- true
- basis
- source Refs
- explanation
- The flat architecture path awaits new ELK().layout(graph).
Validate result check-geometry
Validate result
check-geometry
- label
- Validate result
- kind
- calls
- existence
- established
- value
- true
- basis
- source Refs
- explanation
- Generated layouts are checked with validateLayout and expectedModel.
Build layout place-detail
Build layout
place-detail
- from
- CLI
- label
- Build layout
- kind
- calls
- existence
- established
- value
- true
- basis
- source Refs
- explanation
- The CLI calls the exported layoutModel function. This is the detailed endpoint of the overview call.
src-cli src-cli
src-cli
src-cli
- kind
- code
- locator
- https://github.com/pavelnedved/waxwing/blob/00f30217513433cbb1fb83318ed469e19f890621/bin/waxwing.mjs
- description
- Committed source: bin/waxwing.mjs
src-layout src-layout
src-layout
src-layout
- kind
- code
- locator
- https://github.com/pavelnedved/waxwing/blob/00f30217513433cbb1fb83318ed469e19f890621/modules/layout/index.mjs
- description
- Committed source: modules/layout/index.mjs
src-model src-model
src-model
src-model
- kind
- code
- locator
- https://github.com/pavelnedved/waxwing/blob/00f30217513433cbb1fb83318ed469e19f890621/modules/model/index.mjs
- description
- Committed source: modules/model/index.mjs
src-geometry src-geometry
src-geometry
src-geometry
- kind
- code
- locator
- https://github.com/pavelnedved/waxwing/blob/00f30217513433cbb1fb83318ed469e19f890621/modules/layout/validate.mjs
- description
- Committed source: modules/layout/validate.mjs