Skip to content

Commit 65f01bf

Browse files
committed
docs: move issues to docs development
1 parent a3e15fe commit 65f01bf

File tree

2 files changed

+15
-18
lines changed

2 files changed

+15
-18
lines changed

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,6 @@ Note: nx.js use Craco, which will need `--legacy-peer-deps`.
8181

8282
2. development exporter, can just run by tests
8383

84-
## Known Issues
85-
86-
**Triangle**
87-
88-
- Triangle in drawio is not rendered correctly. In Draw.io the triangle will replace to `mxgraph.basic.acute_triangle`;
89-
- Excalidraw don't have triangle.
90-
9184
## License
9285

9386
- Flow parser based on [mermaid.js](https://github.com/mermaid-js/)

docs/README.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
# Concepts
1+
# Feakin Development
22

33

4-
- Location is a fixed place.
5-
- Position is a variable place.
4+
## Known Issues
65

7-
# Refs
6+
### Triangle
87

9-
## GoJS
8+
Source:
109

11-
use `path` data with Geometry
10+
- Triangle in drawio is not rendered correctly. In Draw.io the triangle will replace to `mxgraph.basic.acute_triangle`;
11+
- Excalidraw don't have triangle. We use line shape to replace triangle.
1212

13-
```typescript
14-
go.Shape.defineArrowheadGeometry('Standard', 'F1 m 0,0 l 8,4 -8,4 2,-4 z');
15-
go.Shape.defineArrowheadGeometry('Backward', 'F1 m 8,0 l -2,4 2,4 -8,-4 z');
16-
go.Shape.defineArrowheadGeometry('Triangle', 'F1 m 0,0 l 8,4.62 -8,4.62 z');
17-
```
13+
Render:
14+
15+
In Konva.js, the triangle Polygon, as follows:
1816

17+
```jsx
18+
<Line
19+
points={ points }
20+
closed
21+
/>
22+
```

0 commit comments

Comments
 (0)