API
La API de GraphoJS es compatible con GoJS. Los exports principales están en el
namespace go (import graphojs/go).
Núcleo
Section titled “Núcleo”go.Diagram— el lienzo interactivo.go.GraphLinksModel/go.TreeModel— los datos.go.Node,go.Link,go.Group,go.Part— los objetos visuales.go.Panel,go.Shape,go.TextBlock,go.Picture— elementos del template.go.GraphObject.make(alias$) — construcción declarativa.
Geometría
Section titled “Geometría”go.Point,go.Rect,go.Size,go.Margin,go.Spot.
Layouts
Section titled “Layouts”go.GridLayout,go.TreeLayout,go.CircularLayout,go.ForceDirectedLayout,go.LayeredDigraphLayout,go.SpotLayout.
Herramientas y comandos
Section titled “Herramientas y comandos”go.CommandHandler,go.ToolManagery las tools (go.DraggingTool,go.LinkingTool, etc.).
Export
Section titled “Export”diagram.makeImage(),diagram.makeSvg(),diagram.print().
Para una lista completa de la superficie compatible, consulta Compatibility.