Comments (2)
Nothing beats the good old "Lines are parallel".
Traceback (most recent call last):
File "/home/runner/work/py-capellambse/py-capellambse/capellambse/model/diagram.py", line 355, in __render_fresh
self._render = self._create_diagram(params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/py-capellambse/py-capellambse/capellambse/model/diagram.py", line 463, in _create_diagram
return aird.parse_diagram(self._model._loader, self._element, **params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/py-capellambse/py-capellambse/capellambse/aird/__init__.py", line 188, in parse_diagram
elm = _element_from_xml(
^^^^^^^^^^^^^^^^^^
File "/home/runner/work/py-capellambse/py-capellambse/capellambse/aird/__init__.py", line 220, in _element_from_xml
return factory(ebd)
^^^^^^^^^^^^
File "/home/runner/work/py-capellambse/py-capellambse/capellambse/aird/_semantic.py", line 96, in from_xml
return drawtype(seb)
^^^^^^^^^^^^^
File "/home/runner/work/py-capellambse/py-capellambse/capellambse/aird/_edge_factories.py", line 589, in association_factory
edge = generic_factory(seb)
^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/py-capellambse/py-capellambse/capellambse/aird/_edge_factories.py", line 65, in generic_factory
snaptarget(edge, -1, -2, targetport, not edge.hidden, routingstyle)
File "/home/runner/work/py-capellambse/py-capellambse/capellambse/aird/_edge_factories.py", line 293, in snaptarget
snap_oblique(points, i, next_i, target)
File "/home/runner/work/py-capellambse/py-capellambse/capellambse/aird/_edge_factories.py", line 303, in snap_oblique
points[i] = target.vector_snap(
^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/py-capellambse/py-capellambse/capellambse/diagram/_diagram.py", line 261, in vector_snap
return self.__vector_snap_oblique(source)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/py-capellambse/py-capellambse/capellambse/diagram/_diagram.py", line 277, in __vector_snap_oblique
return diagram.line_intersect(
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/py-capellambse/py-capellambse/capellambse/diagram/_vector2d.py", line 375, in line_intersect
raise ValueError("Lines are parallel")
ValueError: Lines are parallel
from py-capellambse.
Duplicate of #229.
from py-capellambse.
Related Issues (20)
- PA demo notebook uses private `_filter` method (and fails)
- Missing Physical Path,Physical Link and component icons in generated images HOT 3
- Missing unconnected comments in generated images HOT 4
- Collapse Component Physical Ports makes edges dissapear
- Cannot save back to Git if revision wasn't passed in explicitly
- Additional model arguments are silently ignored when passing a FileHandler object as "path"
- CSA - Missing connectors and actor symbols between Actors and System
- `capellacommon.State.functions` always empty (model.search broken?) HOT 1
- Error: FIP/FOPSymbol wasn't found in factories HOT 1
- Distance between icon and label text is not uniform
- Diagram UUID inconsistent with Capella GUI HOT 1
- Declarative modelling : Problems when declaring new functions / components HOT 4
- Capella model loading failure due to Duplicate UUID HOT 4
- Model.save() breaks the model even without modifying anything HOT 1
- Functional chains (and other objects) not in order
- Automatic namespace management sometimes removes needed namespaces
- Enhancement of State / Mode objects
- Committing to Git sometimes fails with "object is unavailable"
- Support filtering of model elements with FilterCriterions during diagram export
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 py-capellambse.