-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #6 (except for "nice to haves", which we can revisit later) - fix playwright install action - add some nice options to flex component - network viz - settle on cytoscape library - customizable colors/sizes/etc - legend and key - selectable nodes/edges - max nodes slider - expand button - download options - add all available built-in and plugin layout algorithms, except ones with only a few dozen stars on github and ones that crash. explicitly set some key options for each algo to make them look sensible. - add network viz to top of testbed page, with fake generated data - util func to pick key colors - download util funcs
- Loading branch information
1 parent
82d6d5b
commit c26ffce
Showing
17 changed files
with
930 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
.network { | ||
display: grid; | ||
grid-template-columns: max-content auto; | ||
width: 100%; | ||
box-shadow: var(--shadow); | ||
} | ||
|
||
.expanded { | ||
aspect-ratio: unset !important; | ||
width: calc(100vw - 100px); | ||
height: calc(100vh - 200px); | ||
} | ||
|
||
.legend { | ||
max-width: 220px; | ||
height: 0; | ||
min-height: 100%; | ||
padding: 20px; | ||
overflow-x: hidden; | ||
overflow-y: auto; | ||
background: var(--white); | ||
box-shadow: inset -5px 0 5px -5px #00000020; | ||
overflow-wrap: anywhere; | ||
} | ||
|
||
.node-symbol { | ||
width: 20px; | ||
height: 20px; | ||
border-radius: 999px; | ||
} | ||
|
||
.edge-symbol { | ||
width: 20px; | ||
height: 3px; | ||
rotate: -30deg; | ||
} | ||
|
||
.container { | ||
background: var(--white); | ||
} | ||
|
||
.container > * { | ||
width: 100% !important; | ||
height: 100% !important; | ||
} |
Oops, something went wrong.