mirror of
https://github.com/ParkerTenBroeck/automata.git
synced 2026-06-07 05:28:45 -04:00
added path explorer
This commit is contained in:
parent
bf01761264
commit
ac77007022
11 changed files with 473 additions and 125 deletions
|
|
@ -307,9 +307,7 @@ function createGraph(): vis.Network {
|
|||
});
|
||||
|
||||
network.on('deselectEdge', item => {
|
||||
console.log(item);
|
||||
for (const edge of item.previousSelection.edges){
|
||||
console.log(edge);
|
||||
dehighlight_from_edge_id(edge.id)
|
||||
}
|
||||
});
|
||||
|
|
@ -320,9 +318,7 @@ function createGraph(): vis.Network {
|
|||
});
|
||||
|
||||
network.on('deselectNode', item => {
|
||||
console.log(item);
|
||||
for (const node of item.previousSelection.nodes){
|
||||
console.log(node);
|
||||
dehighlight_from_node_id(node.id)
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue