ProgramLanguage/Script/JavaScript
JointJS†
APIリファレンス†
| クラス | 説明 |
| Joint | |
| Joint.arrows | Additional ready-to-use arrows. |
| Joint.dia | Holds functionality related to all diagrams and their elements. |
| Joint.dia.cdm | Holds functionality related to Conceptual Data Model (CDM) and Logical Data Model (LDM) diagrams. |
| Joint.dia.devs | Holds functionality related to Discrete EVent System (DEVS) diagrams. |
| Joint.dia.Element | |
| Joint.dia.erd | Holds functionality related to Entity-relationship diagrams. |
| Joint.dia.fsa | Holds functionality related to FSA diagrams. |
| Joint.dia.org | Holds functionality related to Org-charts. |
| Joint.dia.pn | Holds functionality related to Petri net diagrams. |
| Joint.dia.uml | Holds functionality related to UML diagrams. |
Joint クラス†
メソッド†
| 名称 | 備考 |
| Joint(from, to, opts) | 図形と図形をつなぐ線または矢印を生成する |
| compact() | Returns compact object representation of joint. |
| disconnect(cap) | Disconnects joint from objects. |
| euid() | |
| getVertices() | Get connection vertices. |
| hideHandle(cap) | Hide handle. |
| highlight(color) | Highlight connection. |
| isSmooth() | Find out whether the connection is smooth or not. |
| label(str) | Set a label of the connection. |
| Joint.paper(p) | <static>図形を描画する領域を作成する |
| register(object[, string]) | Register object(s) so that it can be pointed by my cap. |
| registerCallback(evt, fnc) | Register callback function on various events. |
| registeredObjects() | |
| registerForever(arr) | The difference between register and registerForever is that registerForever saves reference to an array passed as argument. |
| Joint.resetPaper() | <static>描画領域にあるすべての図形を削除する |
| setBBoxCorrection(corr, cap) | Set bounding box correction. |
| setVertices(vertices) | Set the vertices of the connection |
| showHandle(cap) | Show handle. |
| straighten() | 曲がった線をまっすぐに整える |
| stringify() | オブジェクトの状態をJSON形式で取得する |
| toggleHandle(cap) | Show/hide handle(s). |
| toggleSmoothing() | Toggle the connection smoothing (bezier/straight). |
| unhighlight() | Unhighlight connection. |
| unregister(obj, cap) | Cancel registration of an object. |
未整理†
コメント†