-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c52084c
commit a2a94d7
Showing
1 changed file
with
16 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"/> | ||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/> | ||
<meta content="ie=edge" http-equiv="X-UA-Compatible"/> | ||
<title> | ||
Different Title | ||
</title> | ||
<style> | ||
* { | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Markmap</title> | ||
<style> | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
@@ -17,21 +15,12 @@ | |
width: 100vw; | ||
height: 100vh; | ||
} | ||
</style> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/style.css" rel="stylesheet"/> | ||
<link href="../main.css" rel="stylesheet"/> | ||
</head> | ||
<body> | ||
<svg id="mindmap"> | ||
</svg> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/d3.min.js"> | ||
</script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/browser/index.js"> | ||
</script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/index.js"> | ||
</script> | ||
<script> | ||
((r) => { | ||
</style> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/style.css"> | ||
</head> | ||
<body> | ||
<svg id="mindmap"></svg> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/d3.min.js"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/browser/index.js"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/index.js"></script><script>((r) => { | ||
setTimeout(r); | ||
})(() => { | ||
const { markmap, mm } = window; | ||
|
@@ -40,17 +29,13 @@ | |
const el = toolbar.render(); | ||
el.setAttribute("style", "position:absolute;bottom:20px;right:20px"); | ||
document.body.append(el); | ||
}) | ||
</script> | ||
<script> | ||
((getMarkmap, getOptions, root2, jsonOptions) => { | ||
})</script><script>((getMarkmap, getOptions, root2, jsonOptions) => { | ||
const markmap = getMarkmap(); | ||
window.mm = markmap.Markmap.create( | ||
"svg#mindmap", | ||
(getOptions || markmap.deriveOptions)(jsonOptions), | ||
root2 | ||
); | ||
})(() => window.markmap,null,{"type":"heading","depth":0,"payload":{"lines":[0,1]},"content":"Electricity","children":[{"type":"heading","depth":1,"payload":{"lines":[1,2]},"content":"Current and Charge","children":[{"type":"heading","depth":2,"payload":{"lines":[2,3]},"content":"Current","children":[{"type":"heading","depth":3,"payload":{"lines":[3,4]},"content":"Rate of flow of charge (rate of flow of electrons)","children":[]},{"type":"heading","depth":3,"payload":{"lines":[4,5]},"content":"Shared across elements in parallel","children":[]},{"type":"heading","depth":3,"payload":{"lines":[5,6]},"content":"Same across elements in series","children":[]}]},{"type":"heading","depth":2,"payload":{"lines":[6,7]},"content":"Charge Flow","children":[{"type":"heading","depth":3,"payload":{"lines":[7,8]},"content":"The number of electrons","children":[]}]},{"type":"heading","depth":2,"payload":{"lines":[8,9]},"content":"Equation","children":[{"type":"heading","depth":3,"payload":{"lines":[9,10]},"content":"Q = I * t","children":[]},{"type":"heading","depth":3,"payload":{"lines":[10,11]},"content":"charge (C) = current (A) * time (s)","children":[]},{"type":"heading","depth":3,"payload":{"lines":[11,12]},"content":"current (A) = charge (C) / time (s)","children":[]}]},{"type":"heading","depth":2,"payload":{"lines":[12,13]},"content":"Other","children":[{"type":"heading","depth":3,"payload":{"lines":[13,14]},"content":"Potential Difference","children":[{"type":"heading","depth":4,"payload":{"lines":[14,15]},"content":"Amount of energy transferred per unit charge","children":[]},{"type":"heading","depth":4,"payload":{"lines":[15,16]},"content":"Same across elements in parallel","children":[]},{"type":"heading","depth":4,"payload":{"lines":[16,17]},"content":"Shared across elements in series","children":[]}]},{"type":"heading","depth":3,"payload":{"lines":[17,18]},"content":"Resistance","children":[{"type":"heading","depth":4,"payload":{"lines":[18,19]},"content":"How difficult it is for current to flow through a circuit or component","children":[]},{"type":"heading","depth":4,"payload":{"lines":[19,20]},"content":"Summed in series","children":[]},{"type":"heading","depth":4,"payload":{"lines":[20,21]},"content":"Bit less than smallest value in parallel","children":[]}]},{"type":"heading","depth":3,"payload":{"lines":[21,22]},"content":"Equation","children":[{"type":"heading","depth":4,"payload":{"lines":[22,23]},"content":"V = IR","children":[]},{"type":"heading","depth":4,"payload":{"lines":[23,24]},"content":"potential difference (V) = current (A) * resistance (Ω)","children":[]}]}]}]},{"type":"heading","depth":1,"payload":{"lines":[24,25]},"content":"Circuit Symbols","children":[{"type":"heading","depth":2,"payload":{"lines":[25,26]},"content":"Battery","children":[{"type":"heading","depth":3,"payload":{"lines":[26,27]},"content":"Battery","children":[]}]},{"type":"heading","depth":2,"payload":{"lines":[27,28]},"content":"Cell","children":[{"type":"heading","depth":3,"payload":{"lines":[28,29]},"content":"Cell","children":[]}]},{"type":"heading","depth":2,"payload":{"lines":[29,30]},"content":"Diode","children":[{"type":"heading","depth":3,"payload":{"lines":[30,31]},"content":"Diode","children":[]}]},{"type":"heading","depth":2,"payload":{"lines":[31,32]},"content":"Lamp","children":[{"type":"heading","depth":3,"payload":{"lines":[32,33]},"content":"Lamp","children":[]}]},{"type":"heading","depth":2,"payload":{"lines":[33,34]},"content":"LED","children":[{"type":"heading","depth":3,"payload":{"lines":[34,35]},"content":"LED","children":[]}]},{"type":"heading","depth":2,"payload":{"lines":[35,36]},"content":"Switch","children":[{"type":"heading","depth":3,"payload":{"lines":[36,37]},"content":"Switch","children":[]},{"type":"heading","depth":3,"payload":{"lines":[37,38]},"content":"Switch but again","children":[]}]}]}]},null) | ||
</script> | ||
</body> | ||
})(() => window.markmap,null,{"type":"heading","depth":0,"payload":{"lines":[0,1]},"content":"Electricity","children":[{"type":"heading","depth":1,"payload":{"lines":[1,2]},"content":"Current and Charge","children":[{"type":"heading","depth":2,"payload":{"lines":[2,3]},"content":"Current","children":[{"type":"heading","depth":3,"payload":{"lines":[3,4]},"content":"Rate of flow of charge (rate of flow of electrons)","children":[]},{"type":"heading","depth":3,"payload":{"lines":[4,5]},"content":"Shared across elements in parallel","children":[]},{"type":"heading","depth":3,"payload":{"lines":[5,6]},"content":"Same across elements in series","children":[]}]},{"type":"heading","depth":2,"payload":{"lines":[6,7]},"content":"Charge Flow","children":[{"type":"heading","depth":3,"payload":{"lines":[7,8]},"content":"The number of electrons","children":[]}]},{"type":"heading","depth":2,"payload":{"lines":[8,9]},"content":"Equation","children":[{"type":"heading","depth":3,"payload":{"lines":[9,10]},"content":"Q = I * t","children":[]},{"type":"heading","depth":3,"payload":{"lines":[10,11]},"content":"charge (C) = current (A) * time (s)","children":[]},{"type":"heading","depth":3,"payload":{"lines":[11,12]},"content":"current (A) = charge (C) / time (s)","children":[]}]},{"type":"heading","depth":2,"payload":{"lines":[12,13]},"content":"Other","children":[{"type":"heading","depth":3,"payload":{"lines":[13,14]},"content":"Potential Difference","children":[{"type":"heading","depth":4,"payload":{"lines":[14,15]},"content":"Amount of energy transferred per unit charge","children":[]},{"type":"heading","depth":4,"payload":{"lines":[15,16]},"content":"Same across elements in parallel","children":[]},{"type":"heading","depth":4,"payload":{"lines":[16,17]},"content":"Shared across elements in series","children":[]}]},{"type":"heading","depth":3,"payload":{"lines":[17,18]},"content":"Resistance","children":[{"type":"heading","depth":4,"payload":{"lines":[18,19]},"content":"How difficult it is for current to flow through a circuit or component","children":[]},{"type":"heading","depth":4,"payload":{"lines":[19,20]},"content":"Summed in series","children":[]},{"type":"heading","depth":4,"payload":{"lines":[20,21]},"content":"Bit less than smallest value in parallel","children":[]}]},{"type":"heading","depth":3,"payload":{"lines":[21,22]},"content":"Equation","children":[{"type":"heading","depth":4,"payload":{"lines":[22,23]},"content":"V = IR","children":[]},{"type":"heading","depth":4,"payload":{"lines":[23,24]},"content":"potential difference (V) = current (A) * resistance (Ω)","children":[]}]}]}]},{"type":"heading","depth":1,"payload":{"lines":[24,25]},"content":"Circuit Symbols","children":[{"type":"heading","depth":2,"payload":{"lines":[25,26]},"content":"Battery","children":[{"type":"heading","depth":3,"payload":{"lines":[26,27]},"content":"Battery","children":[]}]},{"type":"heading","depth":2,"payload":{"lines":[27,28]},"content":"Cell","children":[{"type":"heading","depth":3,"payload":{"lines":[28,29]},"content":"Cell","children":[]}]},{"type":"heading","depth":2,"payload":{"lines":[29,30]},"content":"Diode","children":[{"type":"heading","depth":3,"payload":{"lines":[30,31]},"content":"Diode","children":[]}]},{"type":"heading","depth":2,"payload":{"lines":[31,32]},"content":"Lamp","children":[{"type":"heading","depth":3,"payload":{"lines":[32,33]},"content":"Lamp","children":[]}]},{"type":"heading","depth":2,"payload":{"lines":[33,34]},"content":"LED","children":[{"type":"heading","depth":3,"payload":{"lines":[34,35]},"content":"LED","children":[]}]},{"type":"heading","depth":2,"payload":{"lines":[35,36]},"content":"Switch","children":[{"type":"heading","depth":3,"payload":{"lines":[36,37]},"content":"Switch","children":[]},{"type":"heading","depth":3,"payload":{"lines":[37,38]},"content":"Switch but again","children":[]}]}]}]},null)</script> | ||
</body> | ||
</html> |