Skip to content

Commit

Permalink
mermaid
Browse files Browse the repository at this point in the history
  • Loading branch information
paulopc777 authored Jun 5, 2024
1 parent a6f48af commit e7117c2
Showing 1 changed file with 12 additions and 31 deletions.
43 changes: 12 additions & 31 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,8 @@ <h1 id="politica-de-segurança-de-informação">Politica de Segurança de inform
autorizados</strong> e <strong>danos</strong>.<br>
É imprescindível, portanto, a adoção de condutas, normas e<br>
procedimentos padronizados que tenham como objetivo garantir a proteção dos três<br>
aspectos básicos da segurança da informação:</p>
aspectos básicos da segurança da informação:
</p>
<ul>
<li>confidencialidade.</li>
<li>integridade.</li>
Expand Down Expand Up @@ -2069,37 +2070,17 @@ <h2 id="segregação-de-rede-1">Segregação de Rede </h2>
// we can remove the following lines.


var MERMAID_CONFIG = ({ "startOnLoad": false });
if (typeof MERMAID_CONFIG !== 'undefined') {
MERMAID_CONFIG.startOnLoad = false
MERMAID_CONFIG.cloneCssStyles = false
MERMAID_CONFIG.theme = "default"
}

mermaid.initialize(MERMAID_CONFIG || {})
if (typeof (window['Reveal']) !== 'undefined') {
function mermaidRevealHelper(event) {
var currentSlide = event.currentSlide
var diagrams = currentSlide.querySelectorAll('.mermaid')
for (var i = 0; i < diagrams.length; i++) {
var diagram = diagrams[i]
if (!diagram.hasAttribute('data-processed')) {
mermaid.init(null, diagram, () => {
Reveal.slide(event.indexh, event.indexv)
})
}
}
var config = {
startOnReady: true,
theme: 'forest',
flowchart: {
useMaxWidth: false,
htmlLabels: true
}
Reveal.addEventListener('slidetransitionend', mermaidRevealHelper)
Reveal.addEventListener('ready', mermaidRevealHelper)
await mermaid.run({
nodes: document.querySelectorAll('.mermaid')
})
} else {
await mermaid.run({
nodes: document.querySelectorAll('.mermaid')
})
}
};
mermaid.initialize(config);
mermaid.init(undefined, '.language-mermaid');

</script>


Expand Down

0 comments on commit e7117c2

Please sign in to comment.