This is a simple Web Component that allows Wardley maps to be created in HTML.
To use it, first import the module into the HTML document:
<script type="module" src="https://jamesaduncan.github.io/Wardley-map/index.mjs"></script>
Then write out the Wardley Map using the <wardley-map> tag anywhere in the document's body.
Inside the wardley-map tag, add <wardley-component> tags to represent the components of your map. Wardley components
should have a name attribute that is used to label the component, and an id attribute that is used to identify the component.
The evolution attribute of the <wardley-component> tag can be set to one of the following values to
alter where on the map the component is placed:
genesiscustomproductcommodity
To link components together, use the <wardley-dependency> tag. The dependency should have a target attribute that specifies the
id of the component that it depends on.
Example
The following example demonstrates the canonical hot cup of tea map that is frequently used as an example in the mapping community:
License
The Wardley Map web component is open source, licensed under the GNU GPL v3.0 and is on GitHub.