Last active
October 7, 2018 19:40
-
-
Save gskachkov/2f05062fbc2f6de622fb3d57f6c7165a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class simpleLayout { | |
static get inputProperties() { return [ /* ... */ ]; } | |
static get childrenInputProperties() { return [ /* ... */ ]; } | |
static get layoutOptions() { | |
return { /* ... */ }; | |
} | |
*intrinsicSizes(children, edges, styleMap) { | |
// ... | |
} | |
*layout(children, edges, constraints, styleMap, breakToken) { | |
// ... | |
} | |
} | |
registerLayout('sample-layout', simpleLayout); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment