-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
147 lines (129 loc) · 6.93 KB
/
index.html
File metadata and controls
147 lines (129 loc) · 6.93 KB
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sharafat Karim - GraphCraft</title>
<!-- SEO Meta Tags -->
<meta name="description" content="Graph Craft is a free web-based tool for visualizing and analyzing graphs. Input adjacency matrices, visualize graphs in real-time, compute Warshall's Algorithm, and generate path matrices.">
<meta name="keywords" content="graph visualization, graph analysis, adjacency matrix, Warshall algorithm, path matrix, graph tool, cytoscape, linked representation, transitive closure">
<meta name="author" content="Sharafat Karim">
<meta name="robots" content="index, follow">
<meta name="theme-color" content="#198754">
<!-- Canonical URL -->
<link rel="canonical" href="https://sharafat.is-a.dev/GraphCraft/">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://sharafat.is-a.dev/GraphCraft/">
<meta property="og:title" content="Sharafat Karim - GraphCraft">
<meta property="og:description" content="A free web-based tool for visualizing and analyzing graphs. Input adjacency matrices, visualize graphs in real-time, and compute shortest paths using Warshall's Algorithm.">
<meta property="og:image" content="https://socialify.git.ci/SharafatKarim/GraphCraft/image?description=1&descriptionEditable=Graph%20Visualization%20%26%20Analysis%20Tool&font=Source%20Code%20Pro&forks=1&issues=1&language=1&name=1&pattern=Circuit%20Board&pulls=1&stargazers=1&theme=Auto">
<meta property="og:site_name" content="Sharafat Karim - GraphCraft">
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="https://sharafat.is-a.dev/GraphCraft/">
<meta name="twitter:title" content="Sharafat Karim - GraphCraft">
<meta name="twitter:description" content="A free web-based tool for visualizing and analyzing graphs. Input adjacency matrices, visualize graphs in real-time, and compute shortest paths using Warshall's Algorithm.">
<meta name="twitter:image" content="https://socialify.git.ci/SharafatKarim/GraphCraft/image?description=1&descriptionEditable=Graph%20Visualization%20%26%20Analysis%20Tool&font=Source%20Code%20Pro&forks=1&issues=1&language=1&name=1&pattern=Circuit%20Board&pulls=1&stargazers=1&theme=Auto">
<!-- Structured Data (JSON-LD) -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebApplication",
"name": "Graph Craft",
"description": "A free web-based tool for visualizing and analyzing graphs using adjacency matrices, Warshall's Algorithm, and path matrix computation.",
"url": "https://sharafat.is-a.dev/GraphCraft/",
"applicationCategory": "EducationalApplication",
"operatingSystem": "Any",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
},
"author": {
"@type": "Person",
"name": "Sharafat Karim",
"url": "https://github.com/SharafatKarim"
},
"license": "https://opensource.org/licenses/MIT"
}
</script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link href="style.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/cytoscape/3.28.1/cytoscape.min.js"
integrity="sha512-RcuA+PEnJcg1caTn53YLhZ3bYVFXphzcPL1BjBoAwFiA3bErav+AndZz1xrqpAtv/8Waep2X+9zn8KWpwacUSA=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</head>
<body>
<nav class="navbar navbar-expand-lg bg-body-tertiary">
<div class="container-fluid">
<a class="navbar-brand" href="#">Graph Craft | Visualization & Analysis</a>
<a href="https://github.com/SharafatKarim/GraphCraft"><button class="btn btn-outline-success" type="submit">GitHub repo</button></a>
</div>
</nav>
<div class="container">
<h2>Input Data</h2>
<div class="mb-3">
<label for="adjMatInp" class="form-label">Enter your input (adjacency matrix)</label>
<textarea class="form-control" id="adjMatInp" rows="4"
placeholder="An example 🎨 2 3 1 6 5 3 2 1 9">
</textarea>
</div>
<button class="btn btn-success" id="myButton">Analyze data</button>
<button class="btn btn-danger" id="clearGraph">Clear graph</button>
<button class="btn btn-primary" onclick="location.reload()">Refresh</button>
</div>
<div class="cy-container">
<div class="cy-class" id="cy"></div>
</div>
<div class="container text-center">
<div class="row align-items-end">
<div class="col" id="parentAdjMatTable">
<!-- --------- table 01 --------- -->
<h2 id="adjText" style="visibility: hidden;">Adjacency Matrix</h2>
<div id="adjMatTable"></div>
</div>
<div class="col" id="linkedTab">
<!-- --------- table 02 --------- -->
<h2 id="lnkText" style="visibility: hidden;">Linked Representation</h2>
<div id="linkedRepTable"></div>
</div>
</div>
</div>
<!-- -------------- dropdown menu ------------------ -->
<div class="container text-center">
<div class="row">
<div class="col" id="parentAdjMatTable">
<!-- ------------Warshall's Algorithm -->
<h2 id="warText" style="visibility: hidden;">Warshall's Algorithm</h2>
<div id="warMatTable"></div>
</div>
<div class="col" id="linkedTab">
<!-- ------------Path Matrix -->
<h2 id="pathText" style="visibility: hidden;">Path Matrix</h2>
<div id="pathMatTable"></div>
</div>
</div>
</div>
<div class="container-sm text-center">
<!-- ------------warshall's Algorithm -->
<h2 id="warText" style="visibility: hidden;">Warshall's Algorithm</h2>
<div id="warMatTable"></div>
</div>
<!-- ___ _
/'___) ( )_
| (__ _ _ | ,_) __ _ __
| ,__)/'_`\ /'_`\ | | /'__`\( '__)
| | ( (_) )( (_) )| |_ ( ___/| |
(_) `\___/'`\___/'`\__)`\____)(_)
-->
<footer class="text-center">
<div class="text-center mt-4">
<p class="mb-0">© 2024 <a href="https://github.com/SharafatKarim/">Sharafat Karim</a> | <a
href="https://creativecommons.org/licenses/by-nc/4.0/">CC BY-NC 4.0</a></p>
</div>
</footer>
<script src="main.js"></script>
</body>
</html>