all nodes animated
This commit is contained in:
1 parent
6f21849c85
commit
2e15897b8b
6 files changed
+70
-42
No files matched your search
@@ -66,7 +66,7 @@ export class GraphService {
|
||||
}
|
||||
}
|
||||
|
||||
public shiftPoint(point: Point, radians: number, spacing: number) {
|
||||
public shiftPoint(point: Point, radians: number, spacing: number): Point {
|
||||
return {
|
||||
x: Math.sin(radians * Math.PI) * spacing + point.x,
|
||||
y: Math.cos(radians * Math.PI) * spacing + point.y
|
||||
|
||||
Reference in new issue
Block a user