1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta name="description" content="A simple utility to help you make RRC graphs, out-of-game.">
<meta name="author" content="recnet/winrg">
<link rel="manifest" href="/pwathings/manifest.json" />
<title>RRC Node Graph Generator</title>
<link crossorigin href="/oi.css" rel="stylesheet" type="text/css">
<link crossorigin href="style.css" rel="stylesheet" type="text/css" />
<link crossorigin href="/lib/chips.css" rel="stylesheet" type="text/css" />
<link crossorigin href="/lib/util.js" rel="preload" as="script"/>
<link crossorigin href="/lib/chips.js" rel="preload" as="script"/>
<link crossorigin href="script.js" rel="preload" as="script"/>
<link crossorigin href="/oi.css" rel="preload" as="style"/>
<link crossorigin href="/lib/chips.css" rel="preload" as="style"/>
<link crossorigin href="style.css" rel="preload" as="style"/>
<link crossorigin href="/circuits.json" rel="preload" as="fetch"/>
<link crossorigin href="https://raw.githubusercontent.com/tyleo-rec/CircuitsV2Resources/master/misc/circuitsv2.json" rel="preload" as="fetch"/>
<script crossorigin src="/lib/util.js"></script>
<script crossorigin src="/lib/chips.js"></script>
<script crossorigin src="script.js"></script>
<noscript><style> #searcher, #graph, #canvas { display: none } </style></noscript>
</head>
<body>
<noscript>
The chip grapher requires JavaScript to function.
If you cannot enable it here, you can try using tyleo's
<a href="https://www.figma.com/community/file/1070759222767700948">
figma templates
</a>, although those also need javascript.
</noscript>
<details id="searchbox" open>
<summary></summary>
<iframe id="searcher" src="/searcher"></iframe>
</details>
<div id="graph">
</div>
<canvas id="canvas"></canvas>
<details id="plbox">
<summary><span class="icon"></span></summary>
<div>
<h1>Permalinking Menu</h1>
<hr>
<p>Set your name below(optional) and click the button to get a permanent link to the current graph.</p>
<label for="authorbox"><b>Author:</b></label>
<input id="authorbox" type="text">
<br>
<button onclick="getPermalink();">Get Link!</button>
<br>
<span id="linkprefix"></span><a id="linktarget"></a>
</div>
</details>
<details id="helpbox">
<summary>?</summary>
<div>
<!-- Unused tabbing system. Ignore.
<input type="radio" name="test" class="selecttab" checked/>
<p class="tab">text for button 1</p>
<input type="radio" name="test" class="selecttab"/>
<p class="tab">text for button 2</p>
<input type="radio" name="test" class="selecttab"/>
<p class="tab">text for button 3</p>
<input type="radio" name="test" class="selecttab"/>
<p class="tab">text for button 4</p>-->
<h2>The Basics</h2>
<hr/>
<p>The chip grapher is a simple program.
To get started, use the searcher sidebar to find a chip you want to add.
That sidebar is just an embedded version of <a href="/searcher">the main searcher</a>, and all
behavior is the same. To learn more, press the '?' button on the sidebar.
Once you've decided on a chip, press the '+' button next to it to add it
to the graph.</p>
<h3>Interacting with existing chips</h3>
<hr/>
<p>Chips suppport various operations.</p>
<h4>Wiring</h4>
<hr/>
<p>To wire 2 ports to one another, simply click and drag to a port of the same type.
All input data ports have a maximum of one connection, as do output execs.
To disconnect a wire, simply click on the port.
</p>
<h4>Selecting</h4>
<hr>
<p>To select a chip, just click on it. If the threshold is too fast, shoot me a message on discord.</p>
<h4>Deleting</h4>
<hr>
<p>Once a chip is selected, press the <kbd>Delete</kbd> key to delete it.</p>
<h4>Type Selection</h4>
<hr>
<p>Some chips have a type union on a port. You can see this union by hovering over any white port.
When a chip with a type union is selected, drop down menus will appear to set the actual type.
Setting it will unwire all connections to the chip, so be sure to set it first thing!
</p>
</div>
</details>
</body>
</html>
|