Skip to content

Commit

Permalink
Merge branch 'main' of github.com:isamu/graphai-demo-web
Browse files Browse the repository at this point in the history
  • Loading branch information
isamu committed May 2, 2024
2 parents 0a7ef1e + d7271bb commit fbece1e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</div>
<div>
<button class="border-2" @click="run">Run</button>
<button class="border-2" @click="logClear">Clear</button>
</div>

<div>Graph Data</div>
Expand Down Expand Up @@ -270,6 +271,10 @@ export default defineComponent({
const results = await graph.run();
res.value = results;
};
const logClear = () => {
logs.value = [];
cytoData.value = cytoscapeFromGraph(graph_data2);
};
const storePositions = () => {
console.log("storePositions");

Check warning on line 280 in src/views/Home.vue

View workflow job for this annotation

GitHub Actions / build (20.x)

Unexpected console statement
Expand Down Expand Up @@ -338,6 +343,7 @@ export default defineComponent({
return {
run,
logs,
logClear,
graph_data,
res,
cyRef,
Expand Down

0 comments on commit fbece1e

Please sign in to comment.