Skip to content

Instantly share code, notes, and snippets.

@ceaksan
Created March 23, 2021 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ceaksan/0935fafa459eeceb95bb3a8e0385f3ab to your computer and use it in GitHub Desktop.
Save ceaksan/0935fafa459eeceb95bb3a8e0385f3ab to your computer and use it in GitHub Desktop.

flowchart TD A[[sitemap.xml]] B([posts.xml]) C([pages.xml]) D([taxonomy.xml]) E([products.xml]) F([images.xml]) G([...more])

subgraph SiteMapIndex
    A:::main ==>|loc| B & C & D & E & F & G
end
classDef main fill:#aaa,stroke:#000,stroke-width:2px;

subgraph SiteMap [URIs]
    B -->|loc| F1[...] & F2[...]
    C -->|loc| G1[...] & G2[...]
    D -->|loc| H1[...] & H2[...]
    E -->|loc| I1[...] & I2[...]
    F -->|loc| J1[...] & J2[...]
    G -->|loc| K1[...] & K2[...]
end

classDef sub fill:#ddd,stroke:#333;
classDef child fill:#eee,stroke:#aaa;
class B,C,D,E,F,G sub;
class SiteMapIndex,SiteMap sub;
class F1,F2,G1,G2,H1,H2,I1,I2,J1,J2,K1,K2 child;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment