UNPKG
@webwriter/network
Version:
latest (2.0.7)
2.0.7
2.0.6
2.0.5
2.0.3
2.0.2
2.0.1
2.0.0
0.0.3
0.0.2
0.0.1
Visualization of network topologies. Can represent different kinds of networks.
@webwriter/network
/
src
/
components
/
GraphNode.ts
12 lines
(10 loc)
•
238 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
export
abstract
class
GraphNode
{
id
:
string
;
name
:
string
;
color
:
string
;
cssClass
:
string
[] = [];
constructor
(
color
:
string
) {
this
.
color
= color;
this
.
cssClass
.
push
(
'deletable'
); } }