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>Set a paper for graphics rendering. |
register(obj, cap) | 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>Clear paper, reset again. |
setBBoxCorrection(corr, cap) | Set bounding box correction. |
setVertices(vertices) | Set the vertices of the connection |
showHandle(cap) | Show handle. |
straighten() | Straighten the bent connection path. |
stringify() | |
toggleHandle(cap) | Show/hide handle(s). |
toggleSmoothing() | Toggle the connection smoothing (bezier/straight). |
unhighlight() | Unhighlight connection. |
unregister(obj, cap) | Cancel registration of an object. |
未整理†
コメント†