Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SMART
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UNI-KLU
SMART
Commits
ada25cad
Commit
ada25cad
authored
Mar 09, 2021
by
Herry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
polishing
parent
bbd9bbf2
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
5 additions
and
16 deletions
+5
-16
communityGraphNodeData.dart
src/dashboard/lib/data/communityGraphNodeData.dart
+0
-2
communitygraph.dart
src/dashboard/lib/graphing/communitygraph.dart
+2
-1
postnode.dart
src/dashboard/lib/graphing/postnode.dart
+1
-4
usergraph.dart
src/dashboard/lib/graphing/usergraph.dart
+1
-1
usernode.dart
src/dashboard/lib/graphing/usernode.dart
+1
-1
cluster.dart
src/dashboard/lib/querying/cluster.dart
+0
-4
loginpage.dart
src/dashboard/lib/sign_in/loginpage.dart
+0
-3
No files found.
src/dashboard/lib/data/communityGraphNodeData.dart
View file @
ada25cad
import
'package:flutter/cupertino.dart'
;
import
'community.dart'
;
import
'post.dart'
;
...
...
src/dashboard/lib/graphing/communitygraph.dart
View file @
ada25cad
...
...
@@ -9,7 +9,6 @@ import '../data/communityGraphNodeData.dart';
import
'../querying/datagetter.dart'
;
import
'../data/post.dart'
;
import
'postnode.dart'
;
import
'postnode.dart'
;
import
'communitymetagraph.dart'
;
class
CommunityGraph
extends
StatefulWidget
{
...
...
@@ -98,7 +97,9 @@ class _CommunityGraphState extends State<CommunityGraph> {
class
CommunityGraphViewPage
extends
StatelessWidget
{
final
String
communityname
;
CommunityGraphViewPage
(
this
.
communityname
);
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
backgroundColor:
Colors
.
white
,
...
...
src/dashboard/lib/graphing/postnode.dart
View file @
ada25cad
import
'package:apex_flutter_sdk/apex_flutter_sdk.dart'
;
import
'package:dashboard/main.dart'
;
import
'package:dashboard/graphing/usergraph.dart'
;
import
'package:dashboard/data/post.dart'
;
import
'package:flutter/material.dart'
;
...
...
@@ -50,8 +48,7 @@ class PostNodeTooltip extends StatelessWidget {
final
Post
post
;
final
Color
trustColor
;
double
titleSize
=
22
;
final
double
titleSize
=
22
;
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
...
...
src/dashboard/lib/graphing/usergraph.dart
View file @
ada25cad
...
...
@@ -12,7 +12,7 @@ import '../data/user.dart';
class
UserGraph
extends
StatefulWidget
{
UserGraph
(
this
.
user
);
User
user
;
final
User
user
;
@override
_UserGraphState
createState
()
=>
_UserGraphState
(
user
);
...
...
src/dashboard/lib/graphing/usernode.dart
View file @
ada25cad
...
...
@@ -3,7 +3,7 @@ import 'package:apex_flutter_sdk/apex_flutter_sdk.dart';
import
'trustcolorcalculator.dart'
;
class
UserNode
extends
StatelessWidget
{
List
<
Widget
>
communities
=
[];
final
List
<
Widget
>
communities
=
[];
final
Map
<
String
,
dynamic
>
trustScores
;
UserNode
(
this
.
trustScores
);
...
...
src/dashboard/lib/querying/cluster.dart
View file @
ada25cad
import
'datagetter.dart'
;
import
'package:http/http.dart'
as
http
;
import
'datagetter.dart'
;
class
ClusterGetter
{
Future
<
Map
<
String
,
dynamic
>>
getClusters
(
String
layerName
)
async
{
String
url
=
...
...
src/dashboard/lib/sign_in/loginpage.dart
View file @
ada25cad
import
'package:dashboard/graphing/communitymetagraph.dart'
;
import
'package:dashboard/sign_in/credentials.dart'
;
import
'package:dashboard/querying/datagetter.dart'
;
import
'package:dashboard/sign_in/login_form.dart'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/material.dart'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment