Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions dev/build_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ def build_graph(url: str) -> DirectoryBuilder:
html = to_html(
nx,
template,
network={},
network={'title': builder.repo},
progressor={'enabled': True},
selectors={
'node': {
'placeholder_text': 'Search Files',
'placeholder_text': 'Search',
'search_field': 'id',
'label_field': 'id',
},
Expand Down Expand Up @@ -139,12 +139,12 @@ def main():
html = to_html(
nx,
template,
network={},
network={'title': 'Home'},
progressor={'enabled': True},
selectors={
'edge': {'enabled': False},
'node': {
'placeholder_text': 'Search Repos/Users',
'placeholder_text': 'Search',
'search_field': 'id',
},
},
Expand Down
14 changes: 7 additions & 7 deletions docs/ref/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1.0" />
<title>pygraph</title>
<title>Home</title>

<!-- JetBrains Mono -->
<link rel="stylesheet"
Expand Down Expand Up @@ -51,15 +51,15 @@
.left {
z-index: 1;
position: fixed;
width: 45%;

left: 0;
padding: 20px;
}

.right {
z-index: 1;
position: fixed;
width: 45%;

right: 0;
padding: 20px;
}
Expand Down Expand Up @@ -98,7 +98,7 @@

<div class="right">
<div class="d-inline-block">
<select id="tom-select-nodes" multiple autocomplete="on" placeholder="Search Repos/Users"></select>
<select id="tom-select-nodes" multiple autocomplete="on" placeholder="Search"></select>
</div>
</div>

Expand Down Expand Up @@ -135,8 +135,8 @@
let openLink = (item) => (item?.link) && window.open(item?.link) || false
let resolveLink = (event) => getNodes(event.nodes[0]) || getEdges(event.edges[0]) || undefined
const data = {
nodes: new vis.DataSet([{"color": "#7C7C7CAB", "id": "user:hwelch-fle", "image": "https://github.com/hwelch-fle.png?size=100", "label": "hwelch-fle", "link": "https://github.com/hwelch-fle", "shadow": {"color": "#e863dc", "enabled": true, "size": 5, "x": 3, "y": 3}, "shape": "circularImage", "shapeProperties": {"borderRadius": 10, "useBorderWithImage": true}, "title": "hwelch-fle", "x": 735, "y": -402}, {"group": "hwelch-fle", "id": "repo:geo-grab", "label": "geo-grab", "link": "repo-graphs/hwelch-fle/geo-grab.html", "title": "geo-grab", "x": 820, "y": -394}, {"group": "hwelch-fle", "id": "repo:cimple", "label": "cimple", "link": "repo-graphs/hwelch-fle/cimple.html", "title": "cimple", "x": 678, "y": -449}, {"group": "hwelch-fle", "id": "repo:arcpie", "label": "arcpie", "link": "repo-graphs/hwelch-fle/arcpie.html", "title": "arcpie", "x": 675, "y": -367}, {"color": "#7C7C7CAB", "id": "user:ionelmc", "image": "https://github.com/ionelmc.png?size=100", "label": "ionelmc", "link": "https://github.com/ionelmc", "shadow": {"color": "#da76f1", "enabled": true, "size": 5, "x": 3, "y": 3}, "shape": "circularImage", "shapeProperties": {"borderRadius": 10, "useBorderWithImage": true}, "title": "ionelmc", "x": -386, "y": 142}, {"group": "ionelmc", "id": "repo:pytest-benchmark", "label": "pytest-benchmark", "link": "repo-graphs/ionelmc/pytest-benchmark.html", "title": "pytest-benchmark", "x": -439, "y": 187}, {"color": "#7C7C7CAB", "id": "user:encode", "image": "https://github.com/encode.png?size=100", "label": "encode", "link": "https://github.com/encode", "shadow": {"color": "#97a576", "enabled": true, "size": 5, "x": 3, "y": 3}, "shape": "circularImage", "shapeProperties": {"borderRadius": 10, "useBorderWithImage": true}, "title": "encode", "x": 420, "y": 766}, {"group": "encode", "id": "repo:httpx", "label": "httpx", "link": "repo-graphs/encode/httpx.html", "title": "httpx", "x": 441, "y": 835}, {"color": "#7C7C7CAB", "id": "user:pallets", "image": "https://github.com/pallets.png?size=100", "label": "pallets", "link": "https://github.com/pallets", "shadow": {"color": "#63f212", "enabled": true, "size": 5, "x": 3, "y": 3}, "shape": "circularImage", "shapeProperties": {"borderRadius": 10, "useBorderWithImage": true}, "title": "pallets", "x": -110, "y": 298}, {"group": "pallets", "id": "repo:click", "label": "click", "link": "repo-graphs/pallets/click.html", "title": "click", "x": -58, "y": 323}, {"group": "hwelch-fle", "id": "repo:plankapy", "label": "plankapy", "link": "repo-graphs/hwelch-fle/plankapy.html", "title": "plankapy", "x": 747, "y": -324}, {"group": "pallets", "id": "repo:jinja", "label": "jinja", "link": "repo-graphs/pallets/jinja.html", "title": "jinja", "x": -174, "y": 270}, {"group": "hwelch-fle", "id": "repo:pygraph", "label": "pygraph", "link": "repo-graphs/hwelch-fle/pygraph.html", "title": "pygraph", "x": 763, "y": -477}, {"color": "#7C7C7CAB", "id": "user:visjs", "image": "https://github.com/visjs.png?size=100", "label": "visjs", "link": "https://github.com/visjs", "shadow": {"color": "#fd961a", "enabled": true, "size": 5, "x": 3, "y": 3}, "shape": "circularImage", "shapeProperties": {"borderRadius": 10, "useBorderWithImage": true}, "title": "visjs", "x": -507, "y": 718}, {"group": "visjs", "id": "repo:vis-network", "label": "vis-network", "link": "repo-graphs/visjs/vis-network.html", "title": "vis-network", "x": -508, "y": 791}, {"color": "#7C7C7CAB", "id": "user:Qiskit", "image": "https://github.com/Qiskit.png?size=100", "label": "Qiskit", "link": "https://github.com/Qiskit", "shadow": {"color": "#37100a", "enabled": true, "size": 5, "x": 3, "y": 3}, "shape": "circularImage", "shapeProperties": {"borderRadius": 10, "useBorderWithImage": true}, "title": "Qiskit", "x": 279, "y": -981}, {"group": "Qiskit", "id": "repo:rustworkx", "label": "rustworkx", "link": "repo-graphs/Qiskit/rustworkx.html", "title": "rustworkx", "x": 227, "y": -959}, {"color": "#7C7C7CAB", "id": "user:pytest-dev", "image": "https://github.com/pytest-dev.png?size=100", "label": "pytest-dev", "link": "https://github.com/pytest-dev", "shadow": {"color": "#b0f8da", "enabled": true, "size": 5, "x": 3, "y": 3}, "shape": "circularImage", "shapeProperties": {"borderRadius": 10, "useBorderWithImage": true}, "title": "pytest-dev", "x": -947, "y": 687}, {"group": "pytest-dev", "id": "repo:pytest", "label": "pytest", "link": "repo-graphs/pytest-dev/pytest.html", "title": "pytest", "x": -1000, "y": 737}, {"color": "#7C7C7CAB", "id": "user:fastapi", "image": "https://github.com/fastapi.png?size=100", "label": "fastapi", "link": "https://github.com/fastapi", "shadow": {"color": "#0d32bc", "enabled": true, "size": 5, "x": 3, "y": 3}, "shape": "circularImage", "shapeProperties": {"borderRadius": 10, "useBorderWithImage": true}, "title": "fastapi", "x": -551, "y": -467}, {"group": "fastapi", "id": "repo:typer", "label": "typer", "link": "repo-graphs/fastapi/typer.html", "title": "typer", "x": -510, "y": -410}, {"group": "fastapi", "id": "repo:fastapi", "label": "fastapi", "link": "repo-graphs/fastapi/fastapi.html", "title": "fastapi", "x": -594, "y": -527}]),
edges: new vis.DataSet([{"from": "user:hwelch-fle", "to": "repo:geo-grab"}, {"from": "user:hwelch-fle", "to": "repo:cimple"}, {"from": "user:hwelch-fle", "to": "repo:arcpie"}, {"from": "user:ionelmc", "to": "repo:pytest-benchmark"}, {"from": "user:encode", "to": "repo:httpx"}, {"from": "user:pallets", "to": "repo:click"}, {"from": "user:hwelch-fle", "to": "repo:plankapy"}, {"from": "user:pallets", "to": "repo:jinja"}, {"from": "user:hwelch-fle", "to": "repo:pygraph"}, {"from": "user:visjs", "to": "repo:vis-network"}, {"from": "user:Qiskit", "to": "repo:rustworkx"}, {"from": "user:pytest-dev", "to": "repo:pytest"}, {"from": "user:fastapi", "to": "repo:typer"}, {"from": "user:fastapi", "to": "repo:fastapi"}]),
nodes: new vis.DataSet([{"color": "#7C7C7CAB", "id": "user:hwelch-fle", "image": "https://github.com/hwelch-fle.png?size=100", "label": "hwelch-fle", "link": "https://github.com/hwelch-fle", "shadow": {"color": "#e863dc", "enabled": true, "size": 5, "x": 3, "y": 3}, "shape": "circularImage", "shapeProperties": {"borderRadius": 10, "useBorderWithImage": true}, "title": "hwelch-fle", "x": -428, "y": 293}, {"group": "hwelch-fle", "id": "repo:geo-grab", "label": "geo-grab", "link": "repo-graphs/hwelch-fle/geo-grab.html", "title": "geo-grab", "x": -413, "y": 241}, {"group": "hwelch-fle", "id": "repo:cimple", "label": "cimple", "link": "repo-graphs/hwelch-fle/cimple.html", "title": "cimple", "x": -395, "y": 339}, {"group": "hwelch-fle", "id": "repo:arcpie", "label": "arcpie", "link": "repo-graphs/hwelch-fle/arcpie.html", "title": "arcpie", "x": -370, "y": 287}, {"color": "#7C7C7CAB", "id": "user:ionelmc", "image": "https://github.com/ionelmc.png?size=100", "label": "ionelmc", "link": "https://github.com/ionelmc", "shadow": {"color": "#da76f1", "enabled": true, "size": 5, "x": 3, "y": 3}, "shape": "circularImage", "shapeProperties": {"borderRadius": 10, "useBorderWithImage": true}, "title": "ionelmc", "x": 384, "y": -368}, {"group": "ionelmc", "id": "repo:pytest-benchmark", "label": "pytest-benchmark", "link": "repo-graphs/ionelmc/pytest-benchmark.html", "title": "pytest-benchmark", "x": 400, "y": -334}, {"group": "hwelch-fle", "id": "repo:pygraph", "label": "pygraph", "link": "repo-graphs/hwelch-fle/pygraph.html", "title": "pygraph", "x": -469, "y": 263}, {"color": "#7C7C7CAB", "id": "user:pallets", "image": "https://github.com/pallets.png?size=100", "label": "pallets", "link": "https://github.com/pallets", "shadow": {"color": "#63f212", "enabled": true, "size": 5, "x": 3, "y": 3}, "shape": "circularImage", "shapeProperties": {"borderRadius": 10, "useBorderWithImage": true}, "title": "pallets", "x": -99, "y": 79}, {"group": "pallets", "id": "repo:jinja", "label": "jinja", "link": "repo-graphs/pallets/jinja.html", "title": "jinja", "x": -150, "y": 84}, {"color": "#7C7C7CAB", "id": "user:encode", "image": "https://github.com/encode.png?size=100", "label": "encode", "link": "https://github.com/encode", "shadow": {"color": "#97a576", "enabled": true, "size": 5, "x": 3, "y": 3}, "shape": "circularImage", "shapeProperties": {"borderRadius": 10, "useBorderWithImage": true}, "title": "encode", "x": -407, "y": -630}, {"group": "encode", "id": "repo:httpx", "label": "httpx", "link": "repo-graphs/encode/httpx.html", "title": "httpx", "x": -453, "y": -657}, {"group": "hwelch-fle", "id": "repo:plankapy", "label": "plankapy", "link": "repo-graphs/hwelch-fle/plankapy.html", "title": "plankapy", "x": -472, "y": 334}, {"group": "pallets", "id": "repo:click", "label": "click", "link": "repo-graphs/pallets/click.html", "title": "click", "x": -61, "y": 71}, {"color": "#7C7C7CAB", "id": "user:visjs", "image": "https://github.com/visjs.png?size=100", "label": "visjs", "link": "https://github.com/visjs", "shadow": {"color": "#fd961a", "enabled": true, "size": 5, "x": 3, "y": 3}, "shape": "circularImage", "shapeProperties": {"borderRadius": 10, "useBorderWithImage": true}, "title": "visjs", "x": -212, "y": -429}, {"group": "visjs", "id": "repo:vis-network", "label": "vis-network", "link": "repo-graphs/visjs/vis-network.html", "title": "vis-network", "x": -175, "y": -419}, {"color": "#7C7C7CAB", "id": "user:Qiskit", "image": "https://github.com/Qiskit.png?size=100", "label": "Qiskit", "link": "https://github.com/Qiskit", "shadow": {"color": "#37100a", "enabled": true, "size": 5, "x": 3, "y": 3}, "shape": "circularImage", "shapeProperties": {"borderRadius": 10, "useBorderWithImage": true}, "title": "Qiskit", "x": 192, "y": 840}, {"group": "Qiskit", "id": "repo:rustworkx", "label": "rustworkx", "link": "repo-graphs/Qiskit/rustworkx.html", "title": "rustworkx", "x": 174, "y": 807}, {"color": "#7C7C7CAB", "id": "user:pytest-dev", "image": "https://github.com/pytest-dev.png?size=100", "label": "pytest-dev", "link": "https://github.com/pytest-dev", "shadow": {"color": "#b0f8da", "enabled": true, "size": 5, "x": 3, "y": 3}, "shape": "circularImage", "shapeProperties": {"borderRadius": 10, "useBorderWithImage": true}, "title": "pytest-dev", "x": 48, "y": -998}, {"group": "pytest-dev", "id": "repo:pytest", "label": "pytest", "link": "repo-graphs/pytest-dev/pytest.html", "title": "pytest", "x": 63, "y": -963}, {"color": "#7C7C7CAB", "id": "user:fastapi", "image": "https://github.com/fastapi.png?size=100", "label": "fastapi", "link": "https://github.com/fastapi", "shadow": {"color": "#0d32bc", "enabled": true, "size": 5, "x": 3, "y": 3}, "shape": "circularImage", "shapeProperties": {"borderRadius": 10, "useBorderWithImage": true}, "title": "fastapi", "x": 944, "y": 385}, {"group": "fastapi", "id": "repo:typer", "label": "typer", "link": "repo-graphs/fastapi/typer.html", "title": "typer", "x": 999, "y": 396}, {"group": "fastapi", "id": "repo:fastapi", "label": "fastapi", "link": "repo-graphs/fastapi/fastapi.html", "title": "fastapi", "x": 900, "y": 377}]),
edges: new vis.DataSet([{"from": "user:hwelch-fle", "to": "repo:geo-grab"}, {"from": "user:hwelch-fle", "to": "repo:cimple"}, {"from": "user:hwelch-fle", "to": "repo:arcpie"}, {"from": "user:ionelmc", "to": "repo:pytest-benchmark"}, {"from": "user:hwelch-fle", "to": "repo:pygraph"}, {"from": "user:pallets", "to": "repo:jinja"}, {"from": "user:encode", "to": "repo:httpx"}, {"from": "user:hwelch-fle", "to": "repo:plankapy"}, {"from": "user:pallets", "to": "repo:click"}, {"from": "user:visjs", "to": "repo:vis-network"}, {"from": "user:Qiskit", "to": "repo:rustworkx"}, {"from": "user:pytest-dev", "to": "repo:pytest"}, {"from": "user:fastapi", "to": "repo:typer"}, {"from": "user:fastapi", "to": "repo:fastapi"}]),
}
const options = {
"autoResize": true,
Expand Down Expand Up @@ -372,7 +372,7 @@

onClear: resetNetwork,

plugins: ['remove_button', 'clear_button'],
plugins: ['remove_button', 'clear_button', 'input_autogrow'],
});


Expand Down
12 changes: 6 additions & 6 deletions docs/ref/repo-graphs/Qiskit/rustworkx.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/ref/repo-graphs/encode/httpx.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/ref/repo-graphs/fastapi/fastapi.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/ref/repo-graphs/fastapi/typer.html

Large diffs are not rendered by default.

Loading