Comments (3)
Please share the error message and the stacktrace
from graphview.
Sure. Here is everything the console gave me:
════════ Exception caught by widgets library ═══════════════════════════════════
The following _CastError was thrown building GraphView(dirty, state: _GraphViewState#f555c):
type 'String' is not a subtype of type 'int' in type cast
The relevant error-causing widget was
GraphView
lib/common/tree.dart:72
When the exception was thrown, this was the stack
#0 _TreeState.build.<anonymous closure> (package:Test/common/tree.dart:80:41)
#1 _GraphView._extractChildren.<anonymous closure> (package:graphview/GraphView.dart:103:40)
#2 List.forEach (dart:core-patch/growable_array.dart:416:8)
#3 _GraphView._extractChildren (package:graphview/GraphView.dart:102:17)
#4 new _GraphView (package:graphview/GraphView.dart:86:35)
#5 _GraphViewState.build (package:graphview/GraphView.dart:69:14)
#6 StatefulElement.build (package:flutter/src/widgets/framework.dart:5080:27)
#7 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4968:15)
#8 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133:11)
#9 Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#10 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4950:5)
#11 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5124:11)
#12 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
... Normal element mounting (73 frames)
#85 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#86 MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:6512:36)
#87 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6524:32)
... Normal element mounting (9 frames)
#96 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#97 MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:6512:36)
#98 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6524:32)
... Normal element mounting (28 frames)
#126 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#127 MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:6512:36)
#128 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6524:32)
... Normal element mounting (326 frames)
#454 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#455 MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:6512:36)
#456 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6524:32)
... Normal element mounting (446 frames)
#902 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#903 Element.updateChild (package:flutter/src/widgets/framework.dart:3682:18)
#904 RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1176:16)
#905 RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:1145:5)
#906 RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:1092:18)
#907 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2682:19)
#908 RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:1091:13)
#909 WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:926:7)
#910 WidgetsBinding.scheduleAttachRootWidget.<anonymous closure> (package:flutter/src/widgets/binding.dart:906:7)
#914 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)
(elided 3 frames from class _Timer and dart:async-patch)
════════════════════════════════════════════════════════════════════════════════
D/EGL_emulation( 8303): app_time_stats: avg=5484.56ms min=5484.56ms max=5484.56ms count=1
from graphview.
Cannot reproduce the issue
from graphview.
Related Issues (20)
- Its possible, while move graph mouse cursor to change grabbing in flutter
- graphView nodeWidget not clickable on bottom boundary region HOT 7
- graphView while changing the orientation of tree the edge line overlaps the root node. HOT 1
- Questions on achieving a mindmap using graphview HOT 3
- Collapsing of Nodes HOT 3
- Generic type argument in Node and Graph
- How to close a tree diagram?
- Directed graph flickering HOT 2
- Support layered family tree representations with parents on the same level HOT 2
- How to focus on a graph view node HOT 1
- No graph displayed on iOS Released
- Index out of range error when changing the graph object HOT 1
- how can i create a family tree
- Cani get a family tree example with this or suggest better one
- Ported to TypeScript HOT 1
- Why In SugiyamaAlgorithm nodes are aligned with top when tree depth is unbalanced HOT 4
- How to show the node without edge? HOT 1
- How to draw dashed lines ?
- Add a button (and repective callback) to each connection (arrow)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphview.