×

Schema-driven object alignment

  • US 10,157,484 B2
  • Filed: 03/11/2016
  • Issued: 12/18/2018
  • Est. Priority Date: 03/11/2016
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for enabling a schema-driven object alignment on a canvas, wherein the canvas displays a chart comprising a plurality of items, wherein the chart comprises a model analyzing a real-world scenario and the plurality of items comprise real-world entities associated with the model, wherein the canvas comprises a plurality of objects, and the plurality of objects represent the plurality of items on the chart, the method comprising:

  • defining, by one or more schemas, an associated item type for each item associated with the plurality of items, wherein the one or more schemas further comprise definitions that define at least one type of link formed between the plurality of items in the chart based on the defined associated type of item for each item, wherein the definitions comprise text that is displayed on the canvas and that describes the at least one type of link formed;

    based on the definitions and a compatibility between each item defined by the associated item type, specifying whether the at least one type of link is capable of being validly formed between at least two items associated with the plurality of items;

    receiving an indication of a selected object on the canvas, wherein the selected object represents a first item associated with the plurality of items on the chart;

    based on the definitions and the defined associated item type for the selected object, identifying, from amongst the plurality of objects, a closest compatible object which is displayed closest to a position of the selected object on the canvas and for which at least one link associated with the at least one type of link is capable of being formed between a second item represented by the closest compatible object and the first item represented by the selected object;

    based on a predetermined distance, maintaining the second item as the closest compatible object to the selected object as the selected object is dragged across the plurality of objects on the canvas;

    in response to the selected object being dragged out of the predetermined distance from the second item, and based on an elapsed time that the selected object is dragged out of the predetermined distance from the second item, identifying a third item as the closest compatible object;

    defining an alignment guide for the closest compatible object; and

    in response to a movement of the selected object;

    determining whether the selected object has been moved within a determined range of the alignment guide;

    in response to the determination that the selected object has been moved within the determined range of the alignment guide, modifying a location at which the selected object is displayed on the canvas so that the selected object is aligned with the alignment guide; and

    based on the associated item type and the definitions, forming the at least one type of link between the selected object and the closest compatible link, wherein forming the at least one type of link further comprises displaying, on the canvas, text between the selected object and the closest compatible link to describe the at least one type of link formed based on the real-world scenario.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×