saeedghsh / arrangement Goto Github PK
View Code? Open in Web Editor NEWA python implementation of arrangement for straight lines and circles (and their segments) in Euclidean space.
License: GNU General Public License v3.0
A python implementation of arrangement for straight lines and circles (and their segments) in Euclidean space.
License: GNU General Public License v3.0
I've tried the demo.py but having
File "demo.py", line 74, in
arrange = arr.Arrangement(traits, config)
File "/home/jaycha/Repo/Map_Fine_Tuning/arrangement/arrangement/arrangement.py", line 697, in init
self._decompose()
File "/home/jaycha/Repo/Map_Fine_Tuning/arrangement/arrangement/arrangement.py", line 1033, in _decompose
faces = self._decompose_graph(sg)
File "/home/jaycha/Repo/Map_Fine_Tuning/arrangement/arrangement/arrangement.py", line 1649, in _decompose_graph
face_tmp = [allHalfEdgeIdx[openListIdx]]
File "/home/jaycha/Repo/Map_Fine_Tuning/venv/local/lib/python2.7/site-packages/networkx/classes/reportviews.py", line 1106, in getitem
u, v, k = e
TypeError: 'int' object is not iterable
Hi! I am using Python3 and all the requirements are satisfied after installing the dependencies. However, when I run demo.py, it shows the following error:
ile "demo.py", line 74, in
arrange = arr.Arrangement(traits, config)
File "/Users/xx/arrangement/arrangement/arrangement.py", line 692, in init
self._construct_edges()
File "/Users/xx/arrangement/arrangement/arrangement.py", line 1424, in _construct_edges
for (tVal,cIdx) in zip(self.graph.node[nodeIdx]['obj']._traitTval,
AttributeError: 'MultiDiGraph' object has no attribute 'node'
Could you please help to solve the issue? Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.