darabos commited on
Commit
1de4977
·
1 Parent(s): 388e504

More colors.

Browse files
lynxkite-app/web/src/workspace/nodes/LynxKiteNode.tsx CHANGED
@@ -52,9 +52,11 @@ function getHandles(inputs: any[], outputs: any[]) {
52
  }
53
 
54
  const OP_COLORS: { [key: string]: string } = {
 
55
  orange: "oklch(75% 0.2 55)",
 
56
  blue: "oklch(75% 0.2 230)",
57
- green: "oklch(75% 0.2 130)",
58
  };
59
 
60
  function LynxKiteNodeComponent(props: LynxKiteNodeProps) {
 
52
  }
53
 
54
  const OP_COLORS: { [key: string]: string } = {
55
+ pink: "oklch(75% 0.2 0)",
56
  orange: "oklch(75% 0.2 55)",
57
+ green: "oklch(75% 0.2 150)",
58
  blue: "oklch(75% 0.2 230)",
59
+ purple: "oklch(75% 0.2 290)",
60
  };
61
 
62
  function LynxKiteNodeComponent(props: LynxKiteNodeProps) {
lynxkite-graph-analytics/src/lynxkite_graph_analytics/pytorch/pytorch_ops.py CHANGED
@@ -8,7 +8,7 @@ from .pytorch_core import op, reg, ENV
8
 
9
  reg("Input: tensor", outputs=["output"], params=[P.basic("name")])
10
  reg("Input: graph edges", outputs=["edges"])
11
- reg("Input: sequential", outputs=["y"])
12
  reg("Output", inputs=["x"], outputs=["x"], params=[P.basic("name")])
13
 
14
 
@@ -19,6 +19,7 @@ def lstm(x, *, input_size=1024, hidden_size=1024, dropout=0.0):
19
 
20
  reg(
21
  "Neural ODE",
 
22
  inputs=["x"],
23
  params=[
24
  P.basic("relative_tolerance"),
@@ -99,6 +100,7 @@ def concatenate(a, b):
99
 
100
  reg(
101
  "Graph conv",
 
102
  inputs=["x", "edges"],
103
  outputs=["x"],
104
  params=[P.options("type", ["GCNConv", "GATConv", "GATv2Conv", "SAGEConv"])],
 
8
 
9
  reg("Input: tensor", outputs=["output"], params=[P.basic("name")])
10
  reg("Input: graph edges", outputs=["edges"])
11
+ reg("Input: sequential", outputs=["y"], params=[P.basic("name")])
12
  reg("Output", inputs=["x"], outputs=["x"], params=[P.basic("name")])
13
 
14
 
 
19
 
20
  reg(
21
  "Neural ODE",
22
+ color="blue",
23
  inputs=["x"],
24
  params=[
25
  P.basic("relative_tolerance"),
 
100
 
101
  reg(
102
  "Graph conv",
103
+ color="blue",
104
  inputs=["x", "edges"],
105
  outputs=["x"],
106
  params=[P.options("type", ["GCNConv", "GATConv", "GATv2Conv", "SAGEConv"])],