diff --git a/images/Gaius_law_system.graphml b/images/Gaius_law_system.graphml new file mode 100644 index 0000000000000000000000000000000000000000..e19aee600a649efce9c509c669fa179738da22bf --- /dev/null +++ b/images/Gaius_law_system.graphml @@ -0,0 +1,267 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:java="http://www.yworks.com/xml/yfiles-common/1.0/java" xmlns:sys="http://www.yworks.com/xml/yfiles-common/markup/primitives/2.0" xmlns:x="http://www.yworks.com/xml/yfiles-common/markup/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:y="http://www.yworks.com/xml/graphml" xmlns:yed="http://www.yworks.com/xml/yed/3" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://www.yworks.com/xml/schema/graphml/1.1/ygraphml.xsd"> + <!--Created by yEd 3.19.1.1--> + <key attr.name="Description" attr.type="string" for="graph" id="d0"/> + <key for="port" id="d1" yfiles.type="portgraphics"/> + <key for="port" id="d2" yfiles.type="portgeometry"/> + <key for="port" id="d3" yfiles.type="portuserdata"/> + <key attr.name="url" attr.type="string" for="node" id="d4"/> + <key attr.name="description" attr.type="string" for="node" id="d5"/> + <key for="node" id="d6" yfiles.type="nodegraphics"/> + <key for="graphml" id="d7" yfiles.type="resources"/> + <key attr.name="url" attr.type="string" for="edge" id="d8"/> + <key attr.name="description" attr.type="string" for="edge" id="d9"/> + <key for="edge" id="d10" yfiles.type="edgegraphics"/> + <graph edgedefault="directed" id="G"> + <data key="d0"/> + <node id="n0"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="260.0" y="160.0"/> + <y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/> + <y:BorderStyle color="#000000" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="21.19140625" x="29.404296875" xml:space="preserve" y="11.015625">ius<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n1"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="140.0" y="250.0"/> + <y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/> + <y:BorderStyle color="#000000" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="59.400390625" x="10.2998046875" xml:space="preserve" y="11.015625">publicum<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n2"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="380.0" y="250.0"/> + <y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/> + <y:BorderStyle color="#000000" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="58.33984375" x="10.830078125" xml:space="preserve" y="11.015625">privatum<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n3"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="500.0" y="370.0"/> + <y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/> + <y:BorderStyle color="#000000" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="71.69921875" x="4.150390625" xml:space="preserve" y="11.015625">naturalibus<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n4"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="380.0" y="370.0"/> + <y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/> + <y:BorderStyle color="#000000" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="53.939453125" x="13.0302734375" xml:space="preserve" y="11.015625">gentium<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n5"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="260.0" y="370.0"/> + <y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/> + <y:BorderStyle color="#000000" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="52.509765625" x="13.7451171875" xml:space="preserve" y="11.015625">civilibus<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n6"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="380.0" y="533.75"/> + <y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/> + <y:BorderStyle color="#000000" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="54.572265625" x="12.7138671875" xml:space="preserve" y="11.015625">actiones<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n7"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="260.0" y="533.75"/> + <y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/> + <y:BorderStyle color="#000000" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="22.568359375" x="28.7158203125" xml:space="preserve" y="11.015625">res<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n8"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="140.0" y="533.75"/> + <y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/> + <y:BorderStyle color="#000000" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="58.73828125" x="10.630859375" xml:space="preserve" y="11.015625">personas<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <edge id="e0" source="n2" target="n3"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> + <y:Point x="540.0" y="270.0"/> + </y:Path> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e1" source="n2" target="n5"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> + <y:Point x="300.0" y="270.0"/> + </y:Path> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e2" source="n2" target="n4"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="85.474609375" x="-42.7373046875" xml:space="preserve" y="31.005859375">ex praeceptis<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="0.0" distance="30.0" distanceToCenter="true" position="center" ratio="0.5" segment="0"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e3" source="n0" target="n1"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> + <y:Point x="180.0" y="180.0"/> + </y:Path> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e4" source="n0" target="n2"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> + <y:Point x="420.0" y="180.0"/> + </y:Path> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e5" source="n5" target="n8"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> + <y:Point x="300.0" y="450.0"/> + <y:Point x="180.0" y="450.0"/> + </y:Path> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e6" source="n5" target="n6"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> + <y:Point x="300.73333333333335" y="450.0"/> + <y:Point x="420.0" y="450.0"/> + </y:Path> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e7" source="n5" target="n7"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="257.166015625" x="-128.5830078125" xml:space="preserve" y="52.86163330078125">omne autem ius quo utimur ad ... pertinet<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="0.0" distance="30.0" distanceToCenter="true" position="center" ratio="0.5" segment="0"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + </graph> + <data key="d7"> + <y:Resources/> + </data> +</graphml> diff --git a/images/Gaius_law_system_alt.graphml b/images/Gaius_law_system_alt.graphml new file mode 100644 index 0000000000000000000000000000000000000000..5300ec3e9d7c2c0094dda078beae11bd220870ea --- /dev/null +++ b/images/Gaius_law_system_alt.graphml @@ -0,0 +1,267 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:java="http://www.yworks.com/xml/yfiles-common/1.0/java" xmlns:sys="http://www.yworks.com/xml/yfiles-common/markup/primitives/2.0" xmlns:x="http://www.yworks.com/xml/yfiles-common/markup/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:y="http://www.yworks.com/xml/graphml" xmlns:yed="http://www.yworks.com/xml/yed/3" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://www.yworks.com/xml/schema/graphml/1.1/ygraphml.xsd"> + <!--Created by yEd 3.19.1.1--> + <key attr.name="Description" attr.type="string" for="graph" id="d0"/> + <key for="port" id="d1" yfiles.type="portgraphics"/> + <key for="port" id="d2" yfiles.type="portgeometry"/> + <key for="port" id="d3" yfiles.type="portuserdata"/> + <key attr.name="url" attr.type="string" for="node" id="d4"/> + <key attr.name="description" attr.type="string" for="node" id="d5"/> + <key for="node" id="d6" yfiles.type="nodegraphics"/> + <key for="graphml" id="d7" yfiles.type="resources"/> + <key attr.name="url" attr.type="string" for="edge" id="d8"/> + <key attr.name="description" attr.type="string" for="edge" id="d9"/> + <key for="edge" id="d10" yfiles.type="edgegraphics"/> + <graph edgedefault="directed" id="G"> + <data key="d0"/> + <node id="n0"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="260.0" y="160.0"/> + <y:Fill color="#003366" color2="#003366" transparent="false"/> + <y:BorderStyle color="#FFFFFF" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="21.19140625" x="29.404296875" xml:space="preserve" y="11.015625">ius<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n1"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="140.0" y="250.0"/> + <y:Fill color="#003366" color2="#003366" transparent="false"/> + <y:BorderStyle color="#FFFFFF" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="59.400390625" x="10.2998046875" xml:space="preserve" y="11.015625">publicum<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n2"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="380.0" y="250.0"/> + <y:Fill color="#003366" color2="#003366" transparent="false"/> + <y:BorderStyle color="#FFFFFF" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="58.33984375" x="10.830078125" xml:space="preserve" y="11.015625">privatum<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n3"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="500.0" y="370.0"/> + <y:Fill color="#003366" color2="#003366" transparent="false"/> + <y:BorderStyle color="#FFFFFF" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="71.69921875" x="4.150390625" xml:space="preserve" y="11.015625">naturalibus<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n4"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="380.0" y="370.0"/> + <y:Fill color="#003366" color2="#003366" transparent="false"/> + <y:BorderStyle color="#FFFFFF" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="53.939453125" x="13.0302734375" xml:space="preserve" y="11.015625">gentium<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n5"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="260.0" y="370.0"/> + <y:Fill color="#003366" color2="#003366" transparent="false"/> + <y:BorderStyle color="#FFFFFF" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="52.509765625" x="13.7451171875" xml:space="preserve" y="11.015625">civilibus<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n6"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="380.0" y="533.75"/> + <y:Fill color="#003366" color2="#003366" transparent="false"/> + <y:BorderStyle color="#FFFFFF" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="54.572265625" x="12.7138671875" xml:space="preserve" y="11.015625">actiones<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n7"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="260.0" y="533.75"/> + <y:Fill color="#003366" color2="#003366" transparent="false"/> + <y:BorderStyle color="#FFFFFF" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="22.568359375" x="28.7158203125" xml:space="preserve" y="11.015625">res<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n8"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="140.0" y="533.75"/> + <y:Fill color="#003366" color2="#003366" transparent="false"/> + <y:BorderStyle color="#FFFFFF" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="58.73828125" x="10.630859375" xml:space="preserve" y="11.015625">personas<y:LabelModel><y:SmartNodeLabelModel distance="4.0"/></y:LabelModel><y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <edge id="e0" source="n2" target="n3"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> + <y:Point x="540.0" y="270.0"/> + </y:Path> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e1" source="n2" target="n5"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> + <y:Point x="300.0" y="270.0"/> + </y:Path> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e2" source="n2" target="n4"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="85.474609375" x="-42.7373046875" xml:space="preserve" y="31.005859375">ex praeceptis<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="0.0" distance="30.0" distanceToCenter="true" position="center" ratio="0.5" segment="0"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e3" source="n0" target="n1"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> + <y:Point x="180.0" y="180.0"/> + </y:Path> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e4" source="n0" target="n2"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> + <y:Point x="420.0" y="180.0"/> + </y:Path> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e5" source="n5" target="n8"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> + <y:Point x="300.0" y="450.0"/> + <y:Point x="180.0" y="450.0"/> + </y:Path> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e6" source="n5" target="n6"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> + <y:Point x="300.73333333333335" y="450.0"/> + <y:Point x="420.0" y="450.0"/> + </y:Path> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e7" source="n5" target="n7"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" preferredPlacement="anywhere" ratio="0.5" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="257.166015625" x="-128.5830078125" xml:space="preserve" y="52.86163330078125">omne autem ius quo utimur ad ... pertinet<y:LabelModel><y:SmartEdgeLabelModel autoRotationEnabled="false" defaultAngle="0.0" defaultDistance="10.0"/></y:LabelModel><y:ModelParameter><y:SmartEdgeLabelModelParameter angle="0.0" distance="30.0" distanceToCenter="true" position="center" ratio="0.5" segment="0"/></y:ModelParameter><y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + </graph> + <data key="d7"> + <y:Resources/> + </data> +</graphml> diff --git a/images/Gaius_law_system_alt.png b/images/Gaius_law_system_alt.png new file mode 100644 index 0000000000000000000000000000000000000000..797011e8f7bb38ad45ad7e964e3bc5a84e6fc189 Binary files /dev/null and b/images/Gaius_law_system_alt.png differ diff --git a/images/blank_graph.graphml b/images/blank_graph.graphml new file mode 100644 index 0000000000000000000000000000000000000000..4e51f567c06d060d6584aa50a534bd3d1ec2ab67 --- /dev/null +++ b/images/blank_graph.graphml @@ -0,0 +1,328 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:java="http://www.yworks.com/xml/yfiles-common/1.0/java" xmlns:sys="http://www.yworks.com/xml/yfiles-common/markup/primitives/2.0" xmlns:x="http://www.yworks.com/xml/yfiles-common/markup/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:y="http://www.yworks.com/xml/graphml" xmlns:yed="http://www.yworks.com/xml/yed/3" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://www.yworks.com/xml/schema/graphml/1.1/ygraphml.xsd"> + <!--Created by yEd 3.19.1.1--> + <key attr.name="Description" attr.type="string" for="graph" id="d0"/> + <key for="port" id="d1" yfiles.type="portgraphics"/> + <key for="port" id="d2" yfiles.type="portgeometry"/> + <key for="port" id="d3" yfiles.type="portuserdata"/> + <key attr.name="url" attr.type="string" for="node" id="d4"/> + <key attr.name="description" attr.type="string" for="node" id="d5"/> + <key for="node" id="d6" yfiles.type="nodegraphics"/> + <key for="graphml" id="d7" yfiles.type="resources"/> + <key attr.name="url" attr.type="string" for="edge" id="d8"/> + <key attr.name="description" attr.type="string" for="edge" id="d9"/> + <key for="edge" id="d10" yfiles.type="edgegraphics"/> + <graph edgedefault="directed" id="G"> + <data key="d0"/> + <node id="n0"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="260.0" y="160.0"/> + <y:Fill color="#003366" color2="#003366" transparent="false"/> + <y:BorderStyle color="#FFFFFF" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="4.0" x="38.0" y="18.0"> + <y:LabelModel> + <y:SmartNodeLabelModel distance="4.0"/> + </y:LabelModel> + <y:ModelParameter> + <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/> + </y:ModelParameter> + </y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n1"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="140.0" y="250.0"/> + <y:Fill color="#003366" color2="#003366" transparent="false"/> + <y:BorderStyle color="#FFFFFF" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="4.0" x="38.0" y="18.0"> + <y:LabelModel> + <y:SmartNodeLabelModel distance="4.0"/> + </y:LabelModel> + <y:ModelParameter> + <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/> + </y:ModelParameter> + </y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n2"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="380.0" y="250.0"/> + <y:Fill color="#003366" color2="#003366" transparent="false"/> + <y:BorderStyle color="#FFFFFF" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="4.0" x="38.0" y="18.0"> + <y:LabelModel> + <y:SmartNodeLabelModel distance="4.0"/> + </y:LabelModel> + <y:ModelParameter> + <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/> + </y:ModelParameter> + </y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n3"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="500.0" y="370.0"/> + <y:Fill color="#003366" color2="#003366" transparent="false"/> + <y:BorderStyle color="#FFFFFF" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="4.0" x="38.0" y="18.0"> + <y:LabelModel> + <y:SmartNodeLabelModel distance="4.0"/> + </y:LabelModel> + <y:ModelParameter> + <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/> + </y:ModelParameter> + </y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n4"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="380.0" y="370.0"/> + <y:Fill color="#003366" color2="#003366" transparent="false"/> + <y:BorderStyle color="#FFFFFF" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="4.0" x="38.0" y="18.0"> + <y:LabelModel> + <y:SmartNodeLabelModel distance="4.0"/> + </y:LabelModel> + <y:ModelParameter> + <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/> + </y:ModelParameter> + </y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n5"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="260.0" y="370.0"/> + <y:Fill color="#003366" color2="#003366" transparent="false"/> + <y:BorderStyle color="#FFFFFF" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="4.0" x="38.0" y="18.0"> + <y:LabelModel> + <y:SmartNodeLabelModel distance="4.0"/> + </y:LabelModel> + <y:ModelParameter> + <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/> + </y:ModelParameter> + </y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n6"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="380.0" y="533.75"/> + <y:Fill color="#003366" color2="#003366" transparent="false"/> + <y:BorderStyle color="#FFFFFF" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="4.0" x="38.0" y="18.0"> + <y:LabelModel> + <y:SmartNodeLabelModel distance="4.0"/> + </y:LabelModel> + <y:ModelParameter> + <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/> + </y:ModelParameter> + </y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n7"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="260.0" y="533.75"/> + <y:Fill color="#003366" color2="#003366" transparent="false"/> + <y:BorderStyle color="#FFFFFF" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="4.0" x="38.0" y="18.0"> + <y:LabelModel> + <y:SmartNodeLabelModel distance="4.0"/> + </y:LabelModel> + <y:ModelParameter> + <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/> + </y:ModelParameter> + </y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <node id="n8"> + <data key="d5"/> + <data key="d6"> + <y:GenericNode configuration="com.yworks.entityRelationship.small_entity"> + <y:Geometry height="40.0" width="80.0" x="140.0" y="533.75"/> + <y:Fill color="#003366" color2="#003366" transparent="false"/> + <y:BorderStyle color="#FFFFFF" type="line" width="1.0"/> + <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#FFFFFF" verticalTextPosition="bottom" visible="true" width="4.0" x="38.0" y="18.0"> + <y:LabelModel> + <y:SmartNodeLabelModel distance="4.0"/> + </y:LabelModel> + <y:ModelParameter> + <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/> + </y:ModelParameter> + </y:NodeLabel> + <y:StyleProperties> + <y:Property class="java.lang.Boolean" name="y.view.ShadowNodePainter.SHADOW_PAINTING" value="true"/> + </y:StyleProperties> + </y:GenericNode> + </data> + </node> + <edge id="e0" source="n2" target="n3"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> + <y:Point x="540.0" y="270.0"/> + </y:Path> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e1" source="n2" target="n5"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> + <y:Point x="300.0" y="270.0"/> + </y:Path> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e2" source="n2" target="n4"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e3" source="n0" target="n1"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> + <y:Point x="180.0" y="180.0"/> + </y:Path> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e4" source="n0" target="n2"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> + <y:Point x="420.0" y="180.0"/> + </y:Path> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e5" source="n5" target="n8"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> + <y:Point x="300.0" y="450.0"/> + <y:Point x="180.0" y="450.0"/> + </y:Path> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e6" source="n5" target="n6"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"> + <y:Point x="300.73333333333335" y="450.0"/> + <y:Point x="420.0" y="450.0"/> + </y:Path> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + <edge id="e7" source="n5" target="n7"> + <data key="d9"/> + <data key="d10"> + <y:GenericEdge configuration="com.yworks.bpmn.Connection"> + <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> + <y:LineStyle color="#000000" type="line" width="1.0"/> + <y:Arrows source="none" target="delta"/> + <y:StyleProperties> + <y:Property class="com.yworks.yfiles.bpmn.view.BPMNTypeEnum" name="com.yworks.bpmn.type" value="CONNECTION_TYPE_SEQUENCE_FLOW"/> + </y:StyleProperties> + </y:GenericEdge> + </data> + </edge> + </graph> + <data key="d7"> + <y:Resources/> + </data> +</graphml> diff --git a/images/blank_graph.png b/images/blank_graph.png new file mode 100644 index 0000000000000000000000000000000000000000..11d141625d00a8dc77014494480f0eaa60f4a867 Binary files /dev/null and b/images/blank_graph.png differ diff --git a/script/.ipynb_checkpoints/neighbours-checkpoint.ipynb b/script/.ipynb_checkpoints/neighbours-checkpoint.ipynb new file mode 100644 index 0000000000000000000000000000000000000000..3c1e8938895369af9e3f1763965fe6c0add25cf8 --- /dev/null +++ b/script/.ipynb_checkpoints/neighbours-checkpoint.ipynb @@ -0,0 +1,259 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [], + "source": [ + "import glob\n", + "import os\n", + "import re\n", + "import fasttext\n", + "import pandas as pd" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "['/home/mribary/Documents/wordvec/digest_skip.bin', '/home/mribary/Documents/wordvec/romtext_skip.bin', '/home/mribary/Documents/wordvec/latinise_skip.bin', '/home/mribary/Documents/wordvec/lasla_skip.bin']\n" + ] + } + ], + "source": [ + "path = '/home/mribary/Documents/wordvec'\n", + "file_list = glob.glob(os.path.join(path, '*skip.bin'))\n", + "print(file_list)" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Warning : `load_model` does not return WordVectorModel or SupervisedModel any more, but a `FastText` object which is very similar.\n", + "Warning : `load_model` does not return WordVectorModel or SupervisedModel any more, but a `FastText` object which is very similar.\n", + "Warning : `load_model` does not return WordVectorModel or SupervisedModel any more, but a `FastText` object which is very similar.\n", + "Warning : `load_model` does not return WordVectorModel or SupervisedModel any more, but a `FastText` object which is very similar.\n" + ] + } + ], + "source": [ + "# Load models into a dictionary (with fasttext)\n", + "models = [] \n", + "for i in range(len(file_list)):\n", + " model_name = re.search('(\\/)([a-z]+_[a-z]*)(\\.)', file_list[i]).group(2)\n", + " x, y = model_name, fasttext.load_model(file_list[i])\n", + " models.append((x, y))\n", + "models = dict(models)" + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "metadata": {}, + "outputs": [], + "source": [ + "def neighbors(lemma, models, top=5):\n", + " '''\n", + " Based on a dictionary of fasttext `models` where key is the model's name\n", + " and the value is a fasttext object, the function returns a pandas dataframe\n", + " of closest neighbors for a `lemma`. If no value is entered to `top`, then\n", + " the function returns the default number of 5 top neigbouring lemmas.\n", + " '''\n", + " keys = list(models.keys())\n", + " dictionary = {}\n", + " for i in range(len(keys)):\n", + " tuples = models[keys[i]].get_nearest_neighbors(lemma, top)\n", + " neighbors = []\n", + " for j in range(len(tuples)):\n", + " x, y = tuples[j][1], round(tuples[j][0], 4)\n", + " neighbors.append((x, y))\n", + " #print(neighbors)\n", + " dictionary[keys[i]] = neighbors\n", + " df = pd.DataFrame(dictionary)\n", + " return df" + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "<div>\n", + "<style scoped>\n", + " .dataframe tbody tr th:only-of-type {\n", + " vertical-align: middle;\n", + " }\n", + "\n", + " .dataframe tbody tr th {\n", + " vertical-align: top;\n", + " }\n", + "\n", + " .dataframe thead th {\n", + " text-align: right;\n", + " }\n", + "</style>\n", + "<table border=\"1\" class=\"dataframe\">\n", + " <thead>\n", + " <tr style=\"text-align: right;\">\n", + " <th></th>\n", + " <th>digest_skip</th>\n", + " <th>romtext_skip</th>\n", + " <th>latinise_skip</th>\n", + " <th>lasla_skip</th>\n", + " </tr>\n", + " </thead>\n", + " <tbody>\n", + " <tr>\n", + " <th>0</th>\n", + " <td>(coheres, 0.8153)</td>\n", + " <td>(hereditas, 0.7943)</td>\n", + " <td>(exheres, 0.9061)</td>\n", + " <td>(coheres, 0.8689)</td>\n", + " </tr>\n", + " <tr>\n", + " <th>1</th>\n", + " <td>(hereditas, 0.7682)</td>\n", + " <td>(coheres, 0.7455)</td>\n", + " <td>(herede, 0.8821)</td>\n", + " <td>(hereditas, 0.7901)</td>\n", + " </tr>\n", + " <tr>\n", + " <th>2</th>\n", + " <td>(exheres, 0.7617)</td>\n", + " <td>(extitisset, 0.7294)</td>\n", + " <td>(heredes, 0.8775)</td>\n", + " <td>(hereditarius, 0.755)</td>\n", + " </tr>\n", + " <tr>\n", + " <th>3</th>\n", + " <td>(sextante, 0.761)</td>\n", + " <td>(heredive, 0.7251)</td>\n", + " <td>(hereses, 0.8604)</td>\n", + " <td>(exheredo, 0.7537)</td>\n", + " </tr>\n", + " <tr>\n", + " <th>4</th>\n", + " <td>(assis, 0.7591)</td>\n", + " <td>(heresve, 0.7233)</td>\n", + " <td>(coheres, 0.8359)</td>\n", + " <td>(hermione, 0.67)</td>\n", + " </tr>\n", + " <tr>\n", + " <th>5</th>\n", + " <td>(titianam, 0.7565)</td>\n", + " <td>(exheres, 0.7213)</td>\n", + " <td>(heredis, 0.8282)</td>\n", + " <td>(testamentum, 0.6437)</td>\n", + " </tr>\n", + " <tr>\n", + " <th>6</th>\n", + " <td>(bessem, 0.7549)</td>\n", + " <td>(heredemve, 0.7138)</td>\n", + " <td>(heredum, 0.8247)</td>\n", + " <td>(hera, 0.6395)</td>\n", + " </tr>\n", + " <tr>\n", + " <th>7</th>\n", + " <td>(sextans, 0.7537)</td>\n", + " <td>(substituo, 0.7047)</td>\n", + " <td>(exheredo, 0.8127)</td>\n", + " <td>(heraclitus, 0.6349)</td>\n", + " </tr>\n", + " <tr>\n", + " <th>8</th>\n", + " <td>(besse, 0.7414)</td>\n", + " <td>(extitisse, 0.7023)</td>\n", + " <td>(heredibus, 0.81)</td>\n", + " <td>(herodes, 0.624)</td>\n", + " </tr>\n", + " <tr>\n", + " <th>9</th>\n", + " <td>(semis, 0.7239)</td>\n", + " <td>(hereditarius, 0.6995)</td>\n", + " <td>(heredium, 0.8008)</td>\n", + " <td>(hermippus, 0.6217)</td>\n", + " </tr>\n", + " </tbody>\n", + "</table>\n", + "</div>" + ], + "text/plain": [ + " digest_skip romtext_skip latinise_skip \\\n", + "0 (coheres, 0.8153) (hereditas, 0.7943) (exheres, 0.9061) \n", + "1 (hereditas, 0.7682) (coheres, 0.7455) (herede, 0.8821) \n", + "2 (exheres, 0.7617) (extitisset, 0.7294) (heredes, 0.8775) \n", + "3 (sextante, 0.761) (heredive, 0.7251) (hereses, 0.8604) \n", + "4 (assis, 0.7591) (heresve, 0.7233) (coheres, 0.8359) \n", + "5 (titianam, 0.7565) (exheres, 0.7213) (heredis, 0.8282) \n", + "6 (bessem, 0.7549) (heredemve, 0.7138) (heredum, 0.8247) \n", + "7 (sextans, 0.7537) (substituo, 0.7047) (exheredo, 0.8127) \n", + "8 (besse, 0.7414) (extitisse, 0.7023) (heredibus, 0.81) \n", + "9 (semis, 0.7239) (hereditarius, 0.6995) (heredium, 0.8008) \n", + "\n", + " lasla_skip \n", + "0 (coheres, 0.8689) \n", + "1 (hereditas, 0.7901) \n", + "2 (hereditarius, 0.755) \n", + "3 (exheredo, 0.7537) \n", + "4 (hermione, 0.67) \n", + "5 (testamentum, 0.6437) \n", + "6 (hera, 0.6395) \n", + "7 (heraclitus, 0.6349) \n", + "8 (herodes, 0.624) \n", + "9 (hermippus, 0.6217) " + ] + }, + "execution_count": 7, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "neighbors('heres', models, 10)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3.7.5 64-bit", + "language": "python", + "name": "python37564bit13fddfa0140645c199f4c0ad8a176c2c" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.2" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/script/neighbours.ipynb b/script/neighbours.ipynb index 85b811fafe264e1518cb119ab517d22063b970f3..8182d851477bf1339a1acf8b2fdcc0c4f33e47ad 100644 --- a/script/neighbours.ipynb +++ b/script/neighbours.ipynb @@ -87,7 +87,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 34, "metadata": {}, "outputs": [ { @@ -120,66 +120,111 @@ " <tbody>\n", " <tr>\n", " <th>0</th>\n", - " <td>(credo, 0.8073)</td>\n", - " <td>(faeneravit, 0.7013)</td>\n", - " <td>(pecuniaris, 0.8476)</td>\n", - " <td>(pecuniarius, 0.8478)</td>\n", + " <td>(lupus, 0.7205)</td>\n", + " <td>(lupus, 0.6588)</td>\n", + " <td>(operosus, 0.6988)</td>\n", + " <td>(perficio, 0.6586)</td>\n", " </tr>\n", " <tr>\n", " <th>1</th>\n", - " <td>(creditrix, 0.7814)</td>\n", - " <td>(mutuus, 0.6952)</td>\n", - " <td>(pecuniaque, 0.8445)</td>\n", - " <td>(pecu, 0.7435)</td>\n", + " <td>(molio, 0.6865)</td>\n", + " <td>(opulens, 0.6097)</td>\n", + " <td>(perficus, 0.6877)</td>\n", + " <td>(opusculum, 0.6526)</td>\n", " </tr>\n", " <tr>\n", " <th>2</th>\n", - " <td>(faenero, 0.7799)</td>\n", - " <td>(faenero, 0.6832)</td>\n", - " <td>(pecuniamque, 0.8443)</td>\n", - " <td>(pecuniosus, 0.7342)</td>\n", + " <td>(demolio, 0.656)</td>\n", + " <td>(nuntiatio, 0.6065)</td>\n", + " <td>(perficio, 0.6823)</td>\n", + " <td>(harpago, 0.6358)</td>\n", " </tr>\n", " <tr>\n", " <th>3</th>\n", - " <td>(debitrix, 0.7699)</td>\n", - " <td>(mutuo, 0.6814)</td>\n", - " <td>(pecuniaeque, 0.801)</td>\n", - " <td>(syngrapha, 0.7096)</td>\n", + " <td>(nuntiator, 0.63)</td>\n", + " <td>(aedificator, 0.5749)</td>\n", + " <td>(artificium, 0.6737)</td>\n", + " <td>(munitio, 0.6333)</td>\n", " </tr>\n", " <tr>\n", " <th>4</th>\n", - " <td>(faeneravit, 0.7622)</td>\n", - " <td>(solverim, 0.6798)</td>\n", - " <td>(Pecuniam, 0.7988)</td>\n", - " <td>(creditor, 0.7093)</td>\n", + " <td>(balneator, 0.6027)</td>\n", + " <td>(aedificatio, 0.5675)</td>\n", + " <td>(opifex, 0.6735)</td>\n", + " <td>(munio, 0.6248)</td>\n", + " </tr>\n", + " <tr>\n", + " <th>5</th>\n", + " <td>(operio, 0.6025)</td>\n", + " <td>(umor, 0.5557)</td>\n", + " <td>(artificiosus, 0.666)</td>\n", + " <td>(oppugnatio, 0.6231)</td>\n", + " </tr>\n", + " <tr>\n", + " <th>6</th>\n", + " <td>(renuntiatio, 0.5985)</td>\n", + " <td>(nuntio, 0.5533)</td>\n", + " <td>(quimus, 0.6628)</td>\n", + " <td>(turris, 0.6168)</td>\n", + " </tr>\n", + " <tr>\n", + " <th>7</th>\n", + " <td>(incorruptus, 0.5983)</td>\n", + " <td>(nuntiator, 0.5514)</td>\n", + " <td>(facio, 0.6571)</td>\n", + " <td>(opifex, 0.5998)</td>\n", + " </tr>\n", + " <tr>\n", + " <th>8</th>\n", + " <td>(columna, 0.5983)</td>\n", + " <td>(novus, 0.5511)</td>\n", + " <td>(opusculum, 0.6563)</td>\n", + " <td>(uallus, 0.5973)</td>\n", + " </tr>\n", + " <tr>\n", + " <th>9</th>\n", + " <td>(nuntiatio, 0.598)</td>\n", + " <td>(opifex, 0.5443)</td>\n", + " <td>(usus, 0.6498)</td>\n", + " <td>(locus, 0.5957)</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ - " digest_skip romtext_skip latinise_skip \\\n", - "0 (credo, 0.8073) (faeneravit, 0.7013) (pecuniaris, 0.8476) \n", - "1 (creditrix, 0.7814) (mutuus, 0.6952) (pecuniaque, 0.8445) \n", - "2 (faenero, 0.7799) (faenero, 0.6832) (pecuniamque, 0.8443) \n", - "3 (debitrix, 0.7699) (mutuo, 0.6814) (pecuniaeque, 0.801) \n", - "4 (faeneravit, 0.7622) (solverim, 0.6798) (Pecuniam, 0.7988) \n", + " digest_skip romtext_skip latinise_skip \\\n", + "0 (lupus, 0.7205) (lupus, 0.6588) (operosus, 0.6988) \n", + "1 (molio, 0.6865) (opulens, 0.6097) (perficus, 0.6877) \n", + "2 (demolio, 0.656) (nuntiatio, 0.6065) (perficio, 0.6823) \n", + "3 (nuntiator, 0.63) (aedificator, 0.5749) (artificium, 0.6737) \n", + "4 (balneator, 0.6027) (aedificatio, 0.5675) (opifex, 0.6735) \n", + "5 (operio, 0.6025) (umor, 0.5557) (artificiosus, 0.666) \n", + "6 (renuntiatio, 0.5985) (nuntio, 0.5533) (quimus, 0.6628) \n", + "7 (incorruptus, 0.5983) (nuntiator, 0.5514) (facio, 0.6571) \n", + "8 (columna, 0.5983) (novus, 0.5511) (opusculum, 0.6563) \n", + "9 (nuntiatio, 0.598) (opifex, 0.5443) (usus, 0.6498) \n", "\n", - " lasla_skip \n", - "0 (pecuniarius, 0.8478) \n", - "1 (pecu, 0.7435) \n", - "2 (pecuniosus, 0.7342) \n", - "3 (syngrapha, 0.7096) \n", - "4 (creditor, 0.7093) " + " lasla_skip \n", + "0 (perficio, 0.6586) \n", + "1 (opusculum, 0.6526) \n", + "2 (harpago, 0.6358) \n", + "3 (munitio, 0.6333) \n", + "4 (munio, 0.6248) \n", + "5 (oppugnatio, 0.6231) \n", + "6 (turris, 0.6168) \n", + "7 (opifex, 0.5998) \n", + "8 (uallus, 0.5973) \n", + "9 (locus, 0.5957) " ] }, - "execution_count": 10, + "execution_count": 34, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "neighbors('pecunia', models, 5)" + "neighbors('opus', models, 10)" ] }, { @@ -211,4 +256,4 @@ }, "nbformat": 4, "nbformat_minor": 2 -} \ No newline at end of file +}